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

View file

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

View file

@ -1,3 +1,3 @@
# 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
params:
author: bestyrelsen
categories:
- Admins
tags:
- board
- fediverse
- moderation
- policy
---
*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>
{{ .Content }}
{{ $pages := .Pages }}
{{ range $pages.ByPublishDate.Reverse }}
<p>

View file

@ -4,7 +4,15 @@
{{ range .Site.Menus.nav }}
{{ $atURL := absURL $currentPage.RelPermalink }}
{{ $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 }}
</ol>