Website for data.coop
Go to file
Benjamin Bach 05d7c33fa3
favicons and logos
2020-05-18 10:01:14 +02:00
assets/css Update README with info about deployment 2019-03-03 17:34:34 +01:00
content home page content from old site 2020-05-04 18:11:20 +02:00
i18n Add translations for themes 2020-05-18 10:00:54 +02:00
static favicons and logos 2020-05-18 10:01:14 +02:00
themes/datacoop2020 Structure for multilingual contents + contents of old website 2020-05-03 22:45:20 +02:00
.drone.yml Remove merge conflict artifact 2020-01-06 15:54:53 +01:00
.gitignore Colors and fonts for the new data.coop theme 2020-04-05 23:03:14 +02:00
README.md Replace README.rst with README.md 2020-05-03 23:42:57 +02:00
ROADMAP Structure for multilingual contents + contents of old website 2020-05-03 22:45:20 +02:00
config.yaml Structure for multilingual contents + contents of old website 2020-05-03 22:45:20 +02:00

README.md

data.coop-website

Build Status

This is a Hugo project.

Running locally

Go to Hugo Github release and fetch the latest package for hugo_extended for your system.

We want to align with the latest version always. If it doesn't work, file an issue!

Example recipe

# Fetch .deb from Github
wget https://github.com/gohugoio/hugo/releases/download/v0.69.2/hugo_extended_0.69.2_Linux-64bit.deb -O hugo_extended.deb

# Install package
sudo dpkg -i hugo_extended.deb

# Clone repo
git clone https://git.data.coop/data.coop/website.git data.coop-website

# Go to website
cd data.coop-website

# Run development server
hugo server

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.

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.
  2. Each content article and news text has a language version such content/<slug>.en.md
  3. The config.yaml contains settings specific to each language, such as navigation.