-
-
-
-
{{ .title | markdownify }}
-
{{ .content | markdownify }}
- {{ if .button.enable }}
- {{ with .button }}
-
{{ .label }}
- {{ end }}
- {{ end }}
+ {{ with .Site.Params.cta }}
+
+
+
+
+
+
+
{{ .title | markdownify }}
+
{{ .content | markdownify }}
+ {{ if .button.enable }}
+ {{ with .button }}
+
{{ .label }}
+ {{ end }}
+ {{ end }}
+
+
-
-
-
- {{ "" | safeHTML }}
- {{ end }}
+
+
+ {{ end }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html
index ddf07dd..e6a620e 100644
--- a/layouts/partials/banner.html
+++ b/layouts/partials/banner.html
@@ -1,39 +1,46 @@
-{{ "" | safeHTML }}
+
-
-
-
{{ .Site.Params.banner.title | markdownify }}
-
{{ .Site.Params.banner.subtitle | markdownify }}
-
-
-
-
- {{ $currentNode := . }}
- {{ $currentNode.Scratch.Set "pages" .Site.Pages }}
- {{ $pages := ($currentNode.Scratch.Get "pages") }}
-
-
-
-
+
+
+
+ {{ .Site.Params.banner.title | markdownify }}
+
+
+ {{ .Site.Params.banner.subtitle | markdownify }}
+
+
+
+
+
+ {{ $currentNode := . }} {{ $currentNode.Scratch.Set "pages" .Site.Pages
+ }} {{ $pages := ($currentNode.Scratch.Get "pages") }}
+
+
+
+
-{{ "" | safeHTML }}
\ No newline at end of file
+
diff --git a/layouts/partials/default.html b/layouts/partials/default.html
index 7614269..93bbd47 100644
--- a/layouts/partials/default.html
+++ b/layouts/partials/default.html
@@ -1,24 +1,26 @@
-{{ "" | safeHTML }}
+
@@ -30,48 +32,49 @@
{{ else }}
- {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }}
+ {{ template "section-tree-nav" dict "sect" . "currentnode"
+ $currentNode }}
{{ end }}
-
Updated on {{ .Lastmod.Format "02 Jan 2006" }}
+
+ Updated on {{ .Lastmod.Format "02 Jan 2006" }}
+
@@ -79,34 +82,31 @@
-{{ "" | safeHTML }}
+
-{{ define "section-tree-nav" }}
-{{ $showvisitedlinks := .showvisitedlinks }}
-{{ $currentNode := .currentnode }}
-{{with .sect}}
-{{safeHTML .Params.head}}
-{{ $fileUniqueID := "" }}
-{{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }}
-{{ $currentNodeFileUniqueID := "" }}
-{{ with $currentNode.File }}{{ $currentNodeFileUniqueID = .UniqueID }}{{ end }}
-
+{{ define "section-tree-nav" }} {{ $showvisitedlinks := .showvisitedlinks }} {{
+$currentNode := .currentnode }} {{with .sect}} {{safeHTML .Params.head}} {{
+$fileUniqueID := "" }} {{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }}
+{{ $currentNodeFileUniqueID := "" }} {{ with $currentNode.File }}{{
+$currentNodeFileUniqueID = .UniqueID }}{{ end }}
+
- {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}}
+ {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML
+ .Params.Post}}
- {{ $numberOfPages := (add (len .Pages) (len .Sections)) }}
- {{ if ne $numberOfPages 0 }}
-
- {{ range .Pages.ByWeight }}
- {{ if and .Params.hidden (not $.showhidden) }}
- {{else}}
- {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }}
- {{end}}
- {{end}}
-
+ {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} {{ if ne
+ $numberOfPages 0 }}
+
+ {{ range .Pages.ByWeight }} {{ if and .Params.hidden (not $.showhidden) }}
+ {{else}} {{ template "section-tree-nav" dict "sect" . "currentnode"
+ $currentNode }} {{end}} {{end}}
+
{{ end }}
-{{ end }}
-{{ end }}
\ No newline at end of file
+{{ end }} {{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 75f7e01..bf3e0e6 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,22 +1,29 @@
-{{ "" | safeHTML }}
+
-
{{ .Site.Params.copyright | markdownify }}
+
{{ .Site.Params.copyright | markdownify }}
{{ range .Site.Params.social }}
-
+
+
+
{{ end }}
-{{ "" | safeHTML }}
+
-{{ "" | safeHTML }}
+
{{ $script := resources.Get "js/script.js" | minify}}
-
\ No newline at end of file
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b808548..29140ed 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,93 +1,105 @@
-
+
{{ .Title }}
-
+
{{ hugo.Generator }}
-
-
- {{ "" | safeHTML }}
-
- {{ "" | safeHTML }}
-
+
- {{ "" | safeHTML }}
-
+
+
+
- {{ "" | safeHTML }}
-
+
+
- {{ "" | safeHTML }}
-
+
+
- {{ "" | safeHTML }}
+
+
+
+
-
+
-{{ "" | safeHTML }}
-{{ $css := resources.Get "css/style.css" | minify }}
-
-
-{{ "" | safeHTML }}
+
+ {{ $css := resources.Get "css/style.css" | minify }}
+
-{{ "" | safeHTML }}
-
+
+
+
-{{ "" | safeHTML }}
-
+
+
-{{ "" | safeHTML }}
-
+
+
-{{ "" | safeHTML }}
-
+
+
-{{ template "_internal/google_analytics.html" . }}
-
-{{ if templates.Exists ( printf "partials/overrides/header.html" ) }}
- {{ partial "partials/overrides/header.html" . }}
-{{ else }}
- {{ "" | safeHTML }}
-{{ end }}
-
-
-
-{{ $image_path := .Params.image | default site.Params.image }}
-{{ $image_path_local := printf "static/%s" $image_path }}
-{{ $image_ext := trim (path.Ext $image_path | lower) "." }}
-{{ if fileExists $image_path_local }}
-
- {{ if ne $image_ext "svg" }}
- {{ with (imageConfig $image_path_local) }}
- {{ if (and (gt .Width 144) (gt .Height 144)) }}
-
-
- {{ end }}
-
-
- {{ end }}
+ {{ template "_internal/google_analytics.html" . }} {{ if templates.Exists (
+ printf "partials/overrides/header.html" ) }} {{ partial
+ "partials/overrides/header.html" . }} {{ else }}
+
{{ end }}
-
-{{ end }}
-
-
-{{ with site.Social.twitter }}
{{ end }}
-{{ range site.Authors }}
- {{ with .twitter }}
{{ end }}
-{{ end }}
-
-{{ template "_internal/opengraph.html" . }}
-{{ template "_internal/twitter_cards.html" . }}
+
+ {{ $image_path := .Params.image | default site.Params.image }} {{
+ $image_path_local := printf "static/%s" $image_path }} {{ $image_ext := trim
+ (path.Ext $image_path | lower) "." }} {{ if fileExists $image_path_local }}
+
+ {{ if ne $image_ext "svg" }} {{ with (imageConfig $image_path_local) }} {{ if
+ (and (gt .Width 144) (gt .Height 144)) }}
+
+
+ {{ end }}
+
+
+ {{ end }} {{ end }}
+
+ {{ end }}
+
+
+ {{ with site.Social.twitter }}
+
+ {{ end }} {{ range site.Authors }} {{ with .twitter }}
+
+ {{ end }} {{ end }} {{ template "_internal/opengraph.html" . }} {{ template
+ "_internal/twitter_cards.html" . }}