Merge branch 'new' of git.data.coop:data.coop/website into smaller-margins

This commit is contained in:
Halfdan 2022-12-13 19:35:28 +01:00
commit 96960993fc
3 changed files with 27 additions and 33 deletions

View file

@ -1,6 +1,7 @@
FROM debian:buster-slim FROM debian:buster-slim
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get install -y wget && \ apt-get install -y wget git && \
wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb && \ wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb && \
dpkg -i hugo.deb dpkg -i hugo.deb

View file

@ -5,14 +5,13 @@ copyright: CC-BY, see https://creativecommons.org/licenses/by/4.0/
title: data.coop title: data.coop
theme: datacoop2020 theme: datacoop2020
DefaultContentLanguage: da defaultContentLanguage: da
enableGitInfo: true enableGitInfo: true
markup: markup:
goldmark: goldmark:
renderer: renderer:
unsafe : true unsafe: true
# See: https://gohugo.io/content-management/multilingual/ # See: https://gohugo.io/content-management/multilingual/
languages: languages:
@ -20,47 +19,44 @@ languages:
title: data.coop title: data.coop
weight: 1 weight: 1
LanguageName: Dansk LanguageName: Dansk
baseURL: https://new.data.coop/ menu:
nav:
- name: "Bliv Medlem"
url: "membership/"
weight: 1
- name: "Om os"
url: "about/"
weight: 2
- name: "Tjenester"
url: "services/"
weight: 3
- name: "Vedtægter"
url: "rights/"
weight: 4
- name: "Opdateringer"
url: "updates/"
weight: 5
en: en:
title: data.coop title: data.coop
weight: 2 weight: 2
LanguageName: English LanguageName: English
baseURL: https://new.data.coop/en/
menu: menu:
nav: nav:
- name: "Membership" - name: "Membership"
url: "/membership/" url: "en/membership/"
weight: 1 weight: 1
- name: "About us" - name: "About us"
url: "/about/" url: "en/about/"
weight: 2 weight: 2
- name: "Services" - name: "Services"
url: "/services/" url: "en/services/"
weight: 3 weight: 3
- name: "Statutes" - name: "Statutes"
url: "/rights/" url: "en/rights/"
weight: 4 weight: 4
- name: "Updates" - name: "Updates"
url: "/updates/" url: "en/updates/"
weight: 5 weight: 5
params: params:
description: "Et datakollektiv, der passer på dine data." description: "Et datakollektiv, der passer på dine data."
menu:
nav:
- name: "Bliv Medlem"
url: "/membership/"
weight: 1
- name: "Om os"
url: "/about/"
weight: 2
- name: "Tjenester"
url: "/services/"
weight: 3
- name: "Vedtægter"
url: "/rights/"
weight: 4
- name: "Opdateringer"
url: "/updates/"
weight: 5

View file

@ -1,6 +1,6 @@
version: "3" version: "3"
services:
services:
serve: serve:
build: build:
context: . context: .
@ -10,9 +10,6 @@ services:
cd /code cd /code
hugo serve hugo serve
" "
ports:
- "1313:1313"
network_mode: "host" network_mode: "host"
volumes: volumes:
- .:/code - .:/code