diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
| commit | 41924391280f3ab06396dc9f88a2e4117904f853 (patch) | |
| tree | 279d79c2548408a9d80fad9605370a43ed700e89 /site/themes/hugo-starter/layouts/_default/baseof.html | |
| parent | bc678e31c9dbc1a33febe8f5a5107ab2eab5aa62 (diff) | |
made site
Diffstat (limited to 'site/themes/hugo-starter/layouts/_default/baseof.html')
| -rw-r--r-- | site/themes/hugo-starter/layouts/_default/baseof.html | 30 |
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> |
