summaryrefslogtreecommitdiff
path: root/site/themes/hugo-starter/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/themes/hugo-starter/layouts/_default/baseof.html')
-rw-r--r--site/themes/hugo-starter/layouts/_default/baseof.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/site/themes/hugo-starter/layouts/_default/baseof.html b/site/themes/hugo-starter/layouts/_default/baseof.html
new file mode 100644
index 0000000..89f10a8
--- /dev/null
+++ b/site/themes/hugo-starter/layouts/_default/baseof.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html data-theme="dark">
+ <head>
+ {{- partial "head.html" . -}}
+ </head>
+ <body>
+
+ <canvas id="background"></canvas>
+
+ <div id="main">
+ {{- partial "nav.html" . -}}
+ <div id="content">
+ {{- block "main" . }}{{- end }}
+ <footer>
+ {{- partial "footer.html" . -}}
+ </footer>
+ </div>
+ </div>
+
+ <!-- Background -->
+ <script id="background-config" type="application/json">
+ {{ site.Params.background | jsonify | safeJS }}
+ </script>
+ <script src="{{ "/js/background.js" | relURL }}"></script>
+
+ <!-- Theme Switcher -->
+ <script src="{{ "/js/switch-theme.js" | relURL }}"></script>
+
+ <body>
+</html>