Content-Update mit Fix für dynamische Templates

This commit is contained in:
2025-05-10 19:02:17 +02:00
parent 78944073e0
commit 86615e280f
15 changed files with 568 additions and 0 deletions

12
templates/page.html Normal file
View File

@@ -0,0 +1,12 @@
{{ define "title" }}{{ .Title }}  B1tsblog{{ end }}
{{ define "body" }}
<article>
<p><a class="no-underline" href="/">Zurück</a></p>
<h1>{{ .Title }}</h1>
<div class="article-content">{{ .Body }}</div>
<p><a class="no-underline" href="/">Zurück</a></p>
</article>
{{ end }}
{{ define "page" }}{{ template "layout" . }}{{ end }}