- {{ partial "posts/list.html" . }}
+ {{ with .Site.GetPage "/posts" }}
+ {{ partial "posts/list.html" . }}
+ {{ end }}
diff --git a/layouts/404.html b/layouts/404.html index 808b8e5..1e9d5c4 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -4,7 +4,8 @@
This is a dead link. Whatever was here, it's gone now.
- Let's pretend this never happened. + Let's pretend this never happened.
diff --git a/layouts/index.html b/layouts/index.html index 99f07ea..84e000d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,9 @@ {{ define "main" }}