Merge pull request 'Blog: nextcloud-incident' (#142) from nextcloud-incident into main

Reviewed-on: https://git.data.coop/data.coop/website/pulls/142
Reviewed-by: benjaoming <benjaoming@data.coop>
This commit is contained in:
benjaoming 2025-02-23 10:06:59 +00:00
commit 8f86ff5abd
8 changed files with 275 additions and 3 deletions

View file

@ -8,6 +8,11 @@ theme: datacoop2020
defaultContentLanguage: da defaultContentLanguage: da
enableGitInfo: true enableGitInfo: true
# Todo: create translations?
taxonomies:
category: categories
tag: tags
markup: markup:
goldmark: goldmark:
renderer: renderer:
@ -41,6 +46,9 @@ languages:
- name: "Vedtægter" - name: "Vedtægter"
url: "rights/" url: "rights/"
weight: 4 weight: 4
- name: "Blog"
url: "blog/"
weight: 5
en: en:
title: data.coop title: data.coop
params: params:
@ -62,4 +70,7 @@ languages:
- name: "Statutes" - name: "Statutes"
url: "en/rights/" url: "en/rights/"
weight: 4 weight: 4
- name: "Blog"
url: "en/blog/"
weight: 5

View file

@ -2,4 +2,4 @@
title: "Blog" title: "Blog"
--- ---
Vigtige opdateringer fra bestyrelsen mv. Vigtige opdateringer fra bestyrelsen, admin-teamet mv.

View file

@ -1,3 +1,3 @@
# Blog # Blog
We currently only blog in Danish. Important updates from admins, board etc. Note that we primarily blog in Danish.

View file

@ -4,6 +4,13 @@ summary: Bestyrelsen er enige om, at der samlet set er gode nok argumenter for a
date: 2025-01-12 date: 2025-01-12
params: params:
author: bestyrelsen author: bestyrelsen
categories:
- Admins
tags:
- board
- fediverse
- moderation
- policy
--- ---
*Vedtaget af bestyrelsen 12. januar 2025* *Vedtaget af bestyrelsen 12. januar 2025*

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View file

@ -2,6 +2,8 @@
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := .Pages }} {{ $pages := .Pages }}
{{ range $pages.ByPublishDate.Reverse }} {{ range $pages.ByPublishDate.Reverse }}
<p> <p>

View file

@ -4,7 +4,15 @@
{{ range .Site.Menus.nav }} {{ range .Site.Menus.nav }}
{{ $atURL := absURL $currentPage.RelPermalink }} {{ $atURL := absURL $currentPage.RelPermalink }}
{{ $compURL := absURL .URL }} {{ $compURL := absURL .URL }}
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a></li> <li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a>
<ol class="sub-menu">
{{ range .Children }}
{{ $compURL := absURL .URL }}
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a>
</li>
{{ end }}
</ol>
</li>
{{ end }} {{ end }}
</ol> </ol>