mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-16 13:55:02 +00:00
22 lines
478 B
Plaintext
22 lines
478 B
Plaintext
{{ define "title" }}
|
|
<title>{{ .Blog.Title }}</title>
|
|
{{ include "postheadmeta" . }}
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main class=h-entry>
|
|
<article>
|
|
<data class="u-url hide" value="{{ absolute .Data.Path }}"></data>
|
|
{{ if .Data.Content }}
|
|
<div class=e-content>
|
|
{{ content .Data }}
|
|
</div>
|
|
{{ end }}
|
|
</article>
|
|
{{ include "author" . }}
|
|
</main>
|
|
{{ end }}
|
|
|
|
{{ define "statichome" }}
|
|
{{ template "base" . }}
|
|
{{ end }} |