diff options
Diffstat (limited to 'layouts/til/section.html')
| -rw-r--r-- | layouts/til/section.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/til/section.html b/layouts/til/section.html new file mode 100644 index 0000000..bd8c690 --- /dev/null +++ b/layouts/til/section.html @@ -0,0 +1,13 @@ +{{ define "main" }} + <section> + <h1>{{ .Title }}</h1> + {{ .Content }} + <ul> + {{ range .Pages }} + <li> + <span>{{ .Date.Format "2006-01-02" }}</span> - <a href="{{ .Permalink }}">{{ .Title }}</a> + </li> + {{ end }} + </ul> + </section> +{{ end }} |
