summaryrefslogtreecommitdiffhomepage
path: root/docs/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'docs/layouts/_default')
-rw-r--r--docs/layouts/_default/baseof.html12
-rw-r--r--docs/layouts/_default/list.html12
-rw-r--r--docs/layouts/_default/single.html1
3 files changed, 25 insertions, 0 deletions
diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html
new file mode 100644
index 000000000..076f46dda
--- /dev/null
+++ b/docs/layouts/_default/baseof.html
@@ -0,0 +1,12 @@
+{{ partial "header.html" . }}
+{{ if .Params.toc }}
+<div class="col-lg-8 col-md-12">
+{{block "main" .}}{{end}}
+</div>
+<div id="toc" class="col-lg-offset-6 toc {{ if gt (len .TableOfContents) 2500 }}compact{{ end }}">
+ {{ .TableOfContents }}
+</div>
+{{ else }}
+{{block "main" .}}{{end}}
+{{ end }}
+{{ partial "footer.html" . }}
diff --git a/docs/layouts/_default/list.html b/docs/layouts/_default/list.html
new file mode 100644
index 000000000..f2b122c40
--- /dev/null
+++ b/docs/layouts/_default/list.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+{{ with .Content }}
+{{ . }}
+{{ end }}
+<ul style="margin-top: 20px">
+ {{ range .Data.Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a> <em>Updated {{ .Lastmod.Format "Mon, Jan 2, 2006" }}</em>
+ </li>
+ {{ end }}
+</ul>
+{{ end }}
diff --git a/docs/layouts/_default/single.html b/docs/layouts/_default/single.html
new file mode 100644
index 000000000..b8bcfa70c
--- /dev/null
+++ b/docs/layouts/_default/single.html
@@ -0,0 +1 @@
+{{ define "main" }}{{ .Content }}{{ end }}