Website for data.coop
Go to file
Benjamin Bach 28735d3598
continuous-integration/drone/pr Build is passing Details
possibly make a distinction between icons being more generally applied and badges having a formal meaning?
2023-01-23 10:08:51 +01:00
content Updating content 2022-12-07 19:31:39 +01:00
data/badges/da WIP: Add badge logos and encode Danish badges as YAML 2023-01-21 18:33:28 +01:00
i18n Iterate over status and bagde data 2023-01-21 19:44:02 +01:00
static possibly make a distinction between icons being more generally applied and badges having a formal meaning? 2023-01-23 10:08:51 +01:00
themes/datacoop2020 Adds a very bad and minimal representation of icons 2023-01-21 23:42:43 +01:00
.drone.yml Try to add "git" to installed image (no git executable in PATH) 2021-12-28 02:56:03 +01:00
.gitignore Trigger CI 2023-01-21 22:23:43 +01:00
Dockerfile Restore Dockerfile 2020-05-29 23:08:04 +02:00
Dockerfile_hugo Fix new website 2022-12-08 09:43:48 +01:00
README.md Run stuff with docker-compose 2021-05-04 20:57:45 +02:00
ROADMAP Structure for multilingual contents + contents of old website 2020-05-03 22:45:20 +02:00
config.yaml Remove "Updates" menu item 2023-01-21 17:00:37 +01:00
docker-compose.yml Fix new website 2022-12-08 09:43:48 +01:00

README.md

data.coop-website

Build Status

This is a Hugo project.

Running with Docker

In docker-compose.yml, we have specified a serve target which you can run locally like this:

docker-compose up serve

Running without Docker

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_X.Y.Z_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.