diff options
Diffstat (limited to 'files/index.html')
| -rw-r--r-- | files/index.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/index.html b/files/index.html new file mode 100644 index 0000000..eeb2641 --- /dev/null +++ b/files/index.html @@ -0,0 +1,14 @@ +{{ template "base.html" . }} + +{{ define "content" }} +<div> + <h2>Posts</h2> + <ul> + {{ range .Pages }} + {{ if eq .Type "post" }} + <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li> + {{ end }} + {{ end }} + </ul> +</div> +{{ end }} |
