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

github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index fc03a4f..bf8a069 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
-<html lang="{{ $.Site.LanguageCode | default " en" }}">
+<html lang="{{ $.Site.Home.Language | default "en" }}">
{{ partial "head.html" . }}
<body class="{{ .Kind }} {{ anchorize .URL }} {{ .Section }}">
-{{ readFile "themes/devfest-theme-hugo/static/icons.svg" | safeHTML }}
+{{ readFile "static/icons.svg" | safeHTML }}
{{ block "header" . }}
{{ partial "header.html" . }}
@@ -17,13 +17,10 @@
</main>
{{ block "footer.html" . }}
-{{ partial "footer.html" . }}
+{{ partialCached "footer.html" . }}
{{ end }}
-<script src="/theme.js" async></script>
-{{ block "scripts" . }}
-<!-- No extra scripts -->
-{{ end }}
+{{ partial "scripts" . }}
</body>
</html>