Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/layouts/index.html')
-rw-r--r--examples/blog/layouts/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/blog/layouts/index.html b/examples/blog/layouts/index.html
new file mode 100644
index 000000000..5eb216127
--- /dev/null
+++ b/examples/blog/layouts/index.html
@@ -0,0 +1,19 @@
+{{ template "chrome/header.html" . }}
+<body>
+{{ template "chrome/navbar.html" . }}
+<div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ {{ range first 10 .Data.Pages }}
+ {{ .Render "summary" }}
+ {{ end }}
+ </div>
+
+ <!-- Sidebar -->
+ <div class="col-md-3">
+ {{ template "chrome/menu.html" . }}
+ </div>
+ </div>
+{{ template "chrome/footer.copyright.html" . }}
+</div>
+{{ template "chrome/footer.html" . }} \ No newline at end of file