✨feature: Set up templated views and blog support
This commit is contained in:
10
templates/static_page.html
Normal file
10
templates/static_page.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ define "static_page" }}
|
||||
{{ template "base" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "static_content" }}
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user