diff options
Diffstat (limited to 'layouts/docs')
-rw-r--r-- | layouts/docs/baseof.html | 25 | ||||
-rw-r--r-- | layouts/docs/index.html | 7 | ||||
-rw-r--r-- | layouts/docs/list.html | 7 | ||||
-rw-r--r-- | layouts/docs/single.html | 3 |
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 }} – {{ .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 }} – {{ .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 |