feat: add bilingual blog post about digital media literacy for children
Add new blog post "Ein alter Laptop, Linux und Pi-hole: Digitale Medienkompetenz für Kinder" in German and English, covering setting up a child's first computer with Ubuntu and Pi-hole, open source philosophy, and the balance between protection and freedom. Also adds i18n support for localized month names in date formatting across blog templates. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<a href="{{ .RelPermalink }}" class="text-decoration-none">{{ .Title }}</a>
|
||||
</h2>
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}" class="text-muted">
|
||||
{{ .Date.Format "2. January 2006" }}
|
||||
{{ .Date.Day }}. {{ i18n (printf "month_%d" .Date.Month) }} {{ .Date.Year }}
|
||||
</time>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<div class="text-muted mb-3">
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">
|
||||
{{ .Date.Format "2. January 2006" }}
|
||||
{{ .Date.Day }}. {{ i18n (printf "month_%d" .Date.Month) }} {{ .Date.Year }}
|
||||
</time>
|
||||
</div>
|
||||
|
||||
|
||||
+2
-2
@@ -31,9 +31,9 @@
|
||||
<br>
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}" class="text-muted small">
|
||||
{{ if eq $.Language.Lang "de" }}
|
||||
{{ .Date.Format "2. January 2006" }}
|
||||
{{ .Date.Day }}. {{ i18n (printf "month_%d" .Date.Month) }} {{ .Date.Year }}
|
||||
{{ else }}
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
{{ i18n (printf "month_%d" .Date.Month) }} {{ .Date.Day }}, {{ .Date.Year }}
|
||||
{{ end }}
|
||||
</time>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user