Added blog posts, and improved homepage
This commit is contained in:
8
baseTemplates/templates/blog/blogPost.tmpl
Normal file
8
baseTemplates/templates/blog/blogPost.tmpl
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "bodyClass" }}post post-{{ .Slug }}{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<main class="max-80">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Body }}
|
||||
</main>
|
||||
{{ end }}
|
Reference in New Issue
Block a user