Website for data.coop
Go to file
Halfdan 9bf14530ce
All checks were successful
continuous-integration/drone/push Build is passing
Nudging things around. There might be a result coming up
2021-01-26 21:13:26 +01:00
content English translation of front page 2020-05-18 15:19:02 +02:00
i18n Upgrade to hugo 0.80.0. 2021-01-26 20:10:02 +01:00
static New vector logos w/ tagline built-in 2020-05-19 15:28:30 +02:00
themes/datacoop2020 Nudging things around. There might be a result coming up 2021-01-26 21:13:26 +01:00
.drone.yml Yes yes yes 2021-01-26 20:14:58 +01:00
.gitignore Adding vim swap files to .gitignore 2021-01-26 21:12:56 +01:00
config.yaml Enable bootstrap js. 2021-01-26 21:07:30 +01:00
Dockerfile Restore Dockerfile 2020-05-29 23:08:04 +02:00
README.md Update readme. 2021-01-26 20:26:21 +01:00
ROADMAP Structure for multilingual contents + contents of old website 2020-05-03 22:45:20 +02:00

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.80.0/hugo_extended_0.80.0_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.