mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 14:50:27 +00:00
More styling, more content.
This commit is contained in:
13
tpl/text.html
Normal file
13
tpl/text.html
Normal 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>
|
||||
Reference in New Issue
Block a user