Prepare website for domain substitution #135
|
@ -15,10 +15,10 @@ Install Zola.
|
|||
Start with targeting `m-labs.hk` domain:
|
||||
|
||||
```
|
||||
DOMAINNAME=m-labs.hk zola serve
|
||||
zola serve
|
||||
|
||||
```
|
||||
|
||||
`DOMAINNAME=m-labs.hk` can be omitted, since it defaults to `m-labs.hk`. For any other domains it needs to be set explicitly.
|
||||
Environmental variable `DOMAINNAME` can be specified to [substitute links on the website](#domain-handling).
|
||||
|
||||
To build the .bundle.js from .jsx files:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Just make it a default?
It's default, but updated docs for less confusion.
Just say you can set the DOMAINNAME environment variable to something else. It doesn't need to feature prominently.