summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-02-11 19:46:21 +0100
committerAhmed Abdelhalim <[email protected]>2024-02-11 19:46:21 +0100
commit06b7acc14eb27b1d079312d8530baa220ccac179 (patch)
tree6990b7496df6db8d651b0146f69654353904a31c /layouts/_default/baseof.html
parent53d2062e2479d98707bffdea7f77827510f68b29 (diff)
Use default base of template
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..95267c6
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+ <head>
+ <title>{{ .Site.Title }} | {{ .Title }}</title>
+ {{ $web := resources.Get "scss/web.scss" }}
+ {{ $style := $web | toCSS | minify | fingerprint }}
+ <link rel="stylesheet" href="{{ $style.Permalink }}" media="all" integrity="{{ $style.Data.Integrity }}">
+ {{ $print := resources.Get "scss/print.scss" }}
+ {{ $style := $print | toCSS | minify | fingerprint }}
+ <link rel="stylesheet" href="{{ $style.Permalink }}" media="print" integrity="{{ $style.Data.Integrity }}">
+ {{ partial "head/metadata" .Site.Data.home.index.Meta }}
+ </head>
+ <body>
+ <main>
+ {{ block "main" . }}
+ {{ end }}
+ </main>
+ </body>
+ <footer>
+ {{ block "footer" . }}
+ {{ end }}
+ </footer>
+</html>
+