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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-01 11:09:29 +0300
committerHanzei <hanzei@mailbox.org>2018-07-01 11:09:29 +0300
commitdaca1fe109da3b57005cfe77c27819f9666c646d (patch)
tree98da048782aae45ddf79463e73969c3fbef67ec1 /layouts/_default/baseof.html
parent11587f7efe568e46075321af7f4a1bec54a6ae04 (diff)
Use baseof temple to dry code
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html35
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>