Merge pull request 'Fix reST syntax' (#12) from benjaoming/website:new-website into new

This commit is contained in:
benjaoming 2020-05-03 21:40:56 +00:00
commit 61ecb2ac6f
1 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,5 @@
# data.coop-website
data.coop-website
=================
.. image:: https://drone.data.coop/api/badges/data.coop/website/status.svg
:alt: Build Status
@ -6,7 +7,8 @@
This is a `Hugo <https://gohugo.io/>`__ project.
## Running locally
Running locally
---------------
Go to `Hugo Github release <https://github.com/gohugoio/hugo/releases>`__ and fetch the latest package for **hugo_extended** for your system.
@ -32,16 +34,18 @@ Example recipe
hugo server
## Deploying the site
Deploying the site
------------------
Simply pushing to `master` in our main repo at https://git.data.coop/data.coop/website/ will trigger a build-and-deploy of the website.
Simply pushing to ``master`` in our main repo at https://git.data.coop/data.coop/website/ will trigger a build-and-deploy of the website.
## Multilingual notes
Multilingual notes
------------------
Our website is made multi-lingual using the following 3 structures:
1. The folder ``i18n/`` contains translations of strings used in the theme.
1. Each content article and news text has a language version such ``content/<slug>.en.md``
1. The ``config.yaml`` contains settings specific to each language, such as navigation.
#. The folder ``i18n/`` contains translations of strings used in the theme.
#. Each content article and news text has a language version such ``content/<slug>.en.md``
#. The ``config.yaml`` contains settings specific to each language, such as navigation.