summaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-05 16:22:04 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-05 16:22:04 +0200
commit43974d0908a341ef8dd5d100a63563784fdbf70c (patch)
tree15e46d41a546f123b1304c8d4cd1ddee017d55f7 /layouts/docs
Initial commit
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/baseof.html25
-rw-r--r--layouts/docs/index.html7
-rw-r--r--layouts/docs/list.html7
-rw-r--r--layouts/docs/single.html3
4 files changed, 42 insertions, 0 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
new file mode 100644
index 0000000..7f05ac8
--- /dev/null
+++ b/layouts/docs/baseof.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+ {{ partial "book-html-head" . }}
+ <title>{{ .Site.Title }}</title>
+</head>
+
+<body>
+ <div class="pure-g">
+ <div class="pure-u book-nav">
+ {{ partial "book-nav" . }}
+ </div>
+ <div class="pure-u book-content">
+ <div class="pure-g">
+ <div class="pure-u book-page markdown">
+ {{ block "main" . }}{{ end }}
+ </div>
+ <div class="pure-u book-toc">
+ {{ partial "book-toc" . }}
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/layouts/docs/index.html b/layouts/docs/index.html
new file mode 100644
index 0000000..9b519ff
--- /dev/null
+++ b/layouts/docs/index.html
@@ -0,0 +1,7 @@
+{{ define "title" }}
+ {{ .Title }} &ndash; {{ .Site.Title }}
+{{ end }}
+
+{{ define "main" }}
+ <div>{{ .Content }}</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
new file mode 100644
index 0000000..9b519ff
--- /dev/null
+++ b/layouts/docs/list.html
@@ -0,0 +1,7 @@
+{{ define "title" }}
+ {{ .Title }} &ndash; {{ .Site.Title }}
+{{ end }}
+
+{{ define "main" }}
+ <div>{{ .Content }}</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
new file mode 100644
index 0000000..9b991dd
--- /dev/null
+++ b/layouts/docs/single.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ <div>{{ .Content }}</div>
+{{ end }} \ No newline at end of file