summaryrefslogtreecommitdiffstats
path: root/examples/blog/layouts/post/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/layouts/post/list.html')
-rw-r--r--examples/blog/layouts/post/list.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/blog/layouts/post/list.html b/examples/blog/layouts/post/list.html
new file mode 100644
index 000000000..b3a835ccd
--- /dev/null
+++ b/examples/blog/layouts/post/list.html
@@ -0,0 +1,24 @@
+{{ partial "header.html" . }}
+<body>
+{{ partial "navbar.html" . }}
+<div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ <div class="well well-sm">
+ <strong>Blog Post Archive</strong>
+ <ul class="list-unstyled">
+ {{ range .Data.Pages }}
+ {{ .Render "li" }}
+ {{ end}}
+ </ul>
+ </div>
+ </div>
+
+ <!-- Sidebar -->
+ <div class="col-md-3">
+ {{ partial "menu.html" . }}
+ </div>
+ </div>
+{{ partial "footer.copyright.html" . }}
+</div>
+{{ partial "footer.html" . }}