diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000000..2aab084c9f --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,47 @@ + + + + {{ partial "meta.html" . }} + {{ block "title" . }}{{ .Site.Title }}{{ end }} + + + {{ partial "css.html" . }} + + + {{ partial "head.html" . }} + + + {{ if .IsTranslated }} + {{ range .Translations }} + + {{ end }} + {{ end }} + {{ template "_internal/twitter_cards.html" . }} + + + + {{ if (and .IsHome .Site.Params.fadeFrontPage) }} +
+ {{ end }} + + {{ block "navbar" . }} + {{ partial "navbar.html" . }} + {{ partial "navbar-clone.html" . }} + {{ end }} + + {{ block "main" . }} + {{ end }} + + +
+ + {{ if .Site.Params.footer }} + {{ partial "footer.html" . }} + {{ end }} + + {{ partial "javascript.html" . }} + {{ template "_internal/google_analytics_async.html" . }} + + {{ partial "analytics.html" . }} + + diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html new file mode 100644 index 0000000000..517d81566d --- /dev/null +++ b/layouts/partials/meta.html @@ -0,0 +1,8 @@ +{{ template "_internal/google_analytics_async.html" . }} +{{ if eq .Site.Params.openGraph true }} +{{ template "_internal/opengraph.html" . }} +{{ end }} + + + + \ No newline at end of file diff --git a/themes/scientific-python-hugo-theme b/themes/scientific-python-hugo-theme index a2ee23697e..6bfb3fd77d 160000 --- a/themes/scientific-python-hugo-theme +++ b/themes/scientific-python-hugo-theme @@ -1 +1 @@ -Subproject commit a2ee23697e64e3b78281544593f72f58d755d80c +Subproject commit 6bfb3fd77d2a557f2d792336ef99d67c3750412a