aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/section.html')
-rw-r--r--layouts/posts/section.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/posts/section.html b/layouts/posts/section.html
new file mode 100644
index 0000000..eedc63e
--- /dev/null
+++ b/layouts/posts/section.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
+ <p>{{ .Date | time.Format "2006-01-02" }}</p>{{ .Summary }}
+ </li>
+ {{ end }}
+ </ul>
+{{ end }}