More styling, more content.

This commit is contained in:
2024-05-29 00:28:11 +02:00
parent bebb2f08f6
commit 5965e07259
15 changed files with 213 additions and 83 deletions

13
tpl/text.html Normal file
View File

@@ -0,0 +1,13 @@
{{$size := get .Content "size"}}
<section>
{{if $size}}
{{html (fmt "<%s>" $size)}}
{{copy .Page .Content "headline"}}
{{html (fmt "</%s>" $size)}}
{{else}}
<h2>{{copy .Page .Content "headline"}}</h2>
{{end}}
{{html (copy .Page .Content "text")}}
</section>