mirror of https://github.com/jlelse/GoBlog
15 lines
253 B
Plaintext
15 lines
253 B
Plaintext
|
{{ define "title" }}
|
||
|
<title>{{ blog.Title }}</title>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "main" }}
|
||
|
<main>
|
||
|
{{ range $i, $post := . }}
|
||
|
{{ include "summary" . }}
|
||
|
{{ end }}
|
||
|
</main>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "index" }}
|
||
|
{{ template "base" . }}
|
||
|
{{ end }}
|