From 29d309db5196099982d96933acdc4c0d0ae45436 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 25 Apr 2020 16:50:56 -0300 Subject: Initial commit, migrating from Ghost --- themes/m10c/layouts/_default/baseof.html | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 themes/m10c/layouts/_default/baseof.html (limited to 'themes/m10c/layouts/_default/baseof.html') diff --git a/themes/m10c/layouts/_default/baseof.html b/themes/m10c/layouts/_default/baseof.html new file mode 100644 index 0000000..bb31bd0 --- /dev/null +++ b/themes/m10c/layouts/_default/baseof.html @@ -0,0 +1,54 @@ + + + + {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }} + + {{ hugo.Generator }} + + + + {{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}} + + + + {{ template "_internal/google_analytics.html" . }} + {{ template "_internal/twitter_cards.html" . }} + {{ template "_internal/opengraph.html" . }} + + + + + + + +
+ {{ .Site.Params.author | default +

{{ .Site.Title }}

+

{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}

+
+ {{ range .Site.Params.social }} + {{ partial "icon.html" (dict "ctx" $ "name" .name ) }} + {{ end }} +
+
+
+ {{ block "main" . }} + {{ .Content }} + {{ end }} +
+ + -- cgit v1.2.3