Services #32

Merged
benjaoming merged 7 commits from benjaoming/website:services into new 2022-07-23 22:56:25 +00:00
6 changed files with 50 additions and 39 deletions
Showing only changes of commit f6196411ab - Show all commits

View file

@ -27,20 +27,20 @@ languages:
LanguageName: English LanguageName: English
menu: menu:
nav: nav:
- name: "Bliv Medlem" - name: "Mebership"
url: "/membership/" url: "/membership/"
weight: 1 weight: 1
- name: "Om os" - name: "About us"
url: "/about/" url: "/about/"
weight: 2 weight: 2
- name: "Tjenester" - name: "Services"
url: "/services/" url: "/services/"
weight: 3 weight: 3
- name: "Vedtægter" - name: "Statutes"
url: "/rights/" url: "/rights/"
weight: 4 weight: 4
- name: "Nyheder" - name: "Updates"
url: "/news/" url: "/updates/"
weight: 5 weight: 5
taxonomies: taxonomies:
@ -53,6 +53,9 @@ params:
description: "Et datakollektiv, der passer på dine data." description: "Et datakollektiv, der passer på dine data."
includeBootstrapJs: true includeBootstrapJs: true
# Sections displayed on front page
mainSections: ['updates']
menu: menu:
nav: nav:
- name: "Bliv Medlem" - name: "Bliv Medlem"
@ -67,7 +70,7 @@ menu:
- name: "Vedtægter" - name: "Vedtægter"
url: "/rights/" url: "/rights/"
weight: 4 weight: 4
- name: "Nyheder" - name: "Opdateringer"
url: "/news/" url: "/updates/"
weight: 5 weight: 5

View file

@ -1,6 +1,6 @@
--- ---
layout: page layout: page
title: Tjenester title: Services
--- ---
## Services of data.coop ## Services of data.coop

View file

@ -0,0 +1,6 @@
---
layout: page
title: Opdateringer
---
## Opdateringer og nyheder

View file

@ -0,0 +1,6 @@
---
layout: page
title: Updates
---
## Updates and news

View file

@ -12,14 +12,10 @@
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md --> <!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
{{.Content}} {{.Content}}
</div> </div>
<div>
{{ range first 10 .Site.RegularPages }}
{{ .Render "summary"}}
{{ end }}
</div>
</main> </main>
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ .Site.Params.mainSections }}
{{ $pages := where site.RegularPages "Type" "in" ("") }}
{{ range $pages.ByPublishDate.Reverse }} {{ range $pages.ByPublishDate.Reverse }}
<p> <p>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>