Prepare website for domain substitution #135

Open
esavkin wants to merge 5 commits from esavkin/web2019:134-intl-domain into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 3d384007f5 - Show all commits

View File

@ -15,10 +15,10 @@ Install Zola.
Start with targeting `m-labs.hk` domain:
```
DOMAINNAME=m-labs.hk zola serve
zola serve
Outdated
Review

Just make it a default?

Just make it a default?

It's default, but updated docs for less confusion.

It's default, but updated docs for less confusion.
Outdated
Review

Just say you can set the DOMAINNAME environment variable to something else. It doesn't need to feature prominently.

Just say you can set the DOMAINNAME environment variable to something else. It doesn't need to feature prominently.
```
`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: