diff options
Diffstat (limited to 'layouts/_default/posts.html')
| -rw-r--r-- | layouts/_default/posts.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/posts.html b/layouts/_default/posts.html new file mode 100644 index 0000000..dc0587a --- /dev/null +++ b/layouts/_default/posts.html @@ -0,0 +1,9 @@ +{{ define "main" }} + <p>I write posts about programming and Linux topics that are of interest to me.</p> + <p>Subscribe to the blog by using this <a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">RSS link</a>.</p> + <ul> + {{ range (where .Data.Pages "Type" "posts") }} + <li>{{ .Date.Format "2006-01-01" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> + {{ end }} + </ul> +{{ end }} |
