forked from data.coop/website
Fix new website
This commit is contained in:
parent
aeb0c2278e
commit
f65718db01
|
@ -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
|
||||||
|
|
50
config.yaml
50
config.yaml
|
@ -5,8 +5,7 @@ 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:
|
||||||
|
@ -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
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue