summaryrefslogtreecommitdiffstats
path: root/examples/blog/layouts/categories/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/layouts/categories/list.html')
-rw-r--r--examples/blog/layouts/categories/list.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/blog/layouts/categories/list.html b/examples/blog/layouts/categories/list.html
new file mode 100644
index 000000000..0390d77c2
--- /dev/null
+++ b/examples/blog/layouts/categories/list.html
@@ -0,0 +1,25 @@
+{{ partial "header.html" . }}
+
+<body>
+ {{ partial "navbar.html" . }}
+ <div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ <div class="well well-sm">
+ <strong>Items in category <code>{{ .Title | lower }}</code></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" . }} \ No newline at end of file