forked from web/portal
README: remove multilanguage
This commit is contained in:
12
README.md
12
README.md
@@ -6,10 +6,6 @@ This <abbr title="Single Page Application">SPA</abbr> shows a list of available
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Multi language
|
|
||||||
|
|
||||||
### Technical
|
|
||||||
|
|
||||||
- generated static website powered by [Hugo](https://gohugo.io/)
|
- generated static website powered by [Hugo](https://gohugo.io/)
|
||||||
- easily extensible by a YAML definition
|
- easily extensible by a YAML definition
|
||||||
- responsive layout
|
- responsive layout
|
||||||
@@ -22,14 +18,6 @@ A live server can be started as usual with hugo:
|
|||||||
|
|
||||||
hugo server
|
hugo server
|
||||||
|
|
||||||
### Add a new language `$lang`
|
|
||||||
|
|
||||||
There is only one content page which contains all languages in the front matter. However hugo requires to have a seperate content document per language. Thus they are simply duplicated by a soft link.
|
|
||||||
|
|
||||||
ln -s content/index.en.md content/index.${lang}.md
|
|
||||||
|
|
||||||
Within that page the translation has to be added in the front matter.
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
The build and deploy workflow is provided by the contained shell script `build+deploy.sh`.
|
The build and deploy workflow is provided by the contained shell script `build+deploy.sh`.
|
||||||
|
|||||||
Reference in New Issue
Block a user