From c91d448ae892f3a1c017f339f3b3714354f12c5d Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Thu, 6 Apr 2017 17:46:58 -0400 Subject: [PATCH] Add github corner to site --- layouts/_default/baseof.html | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 layouts/_default/baseof.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..62cf120 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,51 @@ + + + + {{ .Hugo.Generator }} + + + {{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }} + {{ with .Description }} + + {{ end }} + {{ $default_noindex_kinds := slice "section" "taxonomy" "taxonomyTerm" }} + {{ $noindex_kinds := .Site.Params.noindex_kinds | default $default_noindex_kinds }} + {{ $is_noindex_true := and (isset .Params "noindex") .Params.noindex }} + {{ if or (in $noindex_kinds .Kind) ($is_noindex_true) }} + + {{ end }} + {{ partial "meta/name-author" . }} + {{ template "_internal/opengraph.html" . }} + {{ partial "meta/ogimage-maybe" . }} + {{ partial "meta/theme-color" . }} + {{ if eq .Kind "home" }} + {{ partial "site-verification" . }} + {{ end }} + {{ template "_internal/google_analytics_async.html" . }} + {{ if .RSSLink }} + + {{ end }} + + {{ if (isset .Params "prev") }} + + {{ end }} + {{ if (isset .Params "next") }} + + {{ end }} + {{ partial "favicon" . }} + {{ partial "critical-vendor.css" }} + {{ partial "critical-theme.css" }} + {{ partial "critical-custom.css" }} + {{ $lazylist := findRE "class=\".*?\\blazyload\\b.*?\"|class=lazyload\b" .Content }} + {{ if ge (len $lazylist) 1 }} + + {{ end }} + + {{ $theme_variant := .Site.Params.theme_variant | default "hack dark" }} + + +
{{ block "header" . }}{{ end }}
+
{{ block "main" . }}{{ end }}
+ + +