diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2019-04-29 00:13:49 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2019-04-29 00:13:49 +0100 |
| commit | 49f746f1ee9205c4028bdc8f18aa888367eb3ddb (patch) | |
| tree | 8d8b86c72e335a0ebea08e8ed29fb5c7ab439b25 /layouts/_default/posts.html | |
| parent | 6de514f5ff850ab90495e3230417cf0883940985 (diff) | |
Initial site layout
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 }} |
