summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/articles/home.html7
-rw-r--r--layouts/home.html4
2 files changed, 7 insertions, 4 deletions
diff --git a/layouts/articles/home.html b/layouts/articles/home.html
new file mode 100644
index 0000000..46ab1df
--- /dev/null
+++ b/layouts/articles/home.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+ {{ .Content }}
+ {{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ .Summary }}
+ {{ end }}
+{{ end }}
diff --git a/layouts/home.html b/layouts/home.html
index 0df6597..e0e8308 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -1,7 +1,3 @@
{{ define "main" }}
{{ .Content }}
- {{ range site.RegularPages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .Summary }}
- {{ end }}
{{ end }}