diff options
author | Hanzei <hanzei@mailbox.org> | 2018-07-01 11:09:29 +0300 |
---|---|---|
committer | Hanzei <hanzei@mailbox.org> | 2018-07-01 11:09:29 +0300 |
commit | daca1fe109da3b57005cfe77c27819f9666c646d (patch) | |
tree | 98da048782aae45ddf79463e73969c3fbef67ec1 /layouts/_default/baseof.html | |
parent | 11587f7efe568e46075321af7f4a1bec54a6ae04 (diff) |
Use baseof temple to dry code
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..c3f6407 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + <head> + {{ block "head" . }} + {{ partial "head/metadata.html" . }} + {{ partial "head/favicons.html" . }} + {{ partial "head/css.html" . }} + {{ end }} + </head> + <body> + <div class="section" id="top"> + <!-- Begin Title --> + <div class="container hero {{ if .Site.Params.fadeIn | default true }} fade-in one {{ end }}"> + {{ block "title" . }} + <h1 class="bold-title is-1">{{ .Title }}</h1> + {{ end }} + </div> + <!-- End Title --> + <div class="section {{ if .Site.Params.fadeIn | default true }} fade-in two {{ end }}"> + {{ partial "nav.html" . }} + + {{ block "main" . }} + {{ end }} + + {{ block "footer" . }} + {{ partial "top-icon-with-hr.html" . }} + {{ partial "footer/text.html" . }} + {{ end }} + </div> + </div> + {{ block "js-include" . }} + {{ partial "footer/scripts.html" . }} + {{ end }} + </body> +</html> |