diff options
| -rw-r--r-- | layouts/_default/home.html | 14 | ||||
| m--------- | themes/chilldark | 0 |
2 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..999425b --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,14 @@ +{{ define "main" }} + {{ .Content }} + + <h2>Latest posts</h2> + <ul> + {{ range (where site.RegularPages "Section" "posts").ByDate.Reverse }} + <li> + <h3><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h3> + {{ .Summary }} + </li> + {{ end }} + </ul> +{{ end }} + diff --git a/themes/chilldark b/themes/chilldark -Subproject d4d6e315b7163c745ac94cb5cc5512a93ae59a1 +Subproject 3c6fdde5a6cb0b8485550a3a5ce2e2c7da93206 |
