summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:32:07 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:32:07 +0530
commit8a0783adfb8399cbde4b42782dfc182d9bf54aed (patch)
treee2d844c2aaa5dae32f6759d9263125935e764647 /layouts/_default/baseof.html
parent2e0ef75edf86bd6b350f153b3791e2a453b1e95e (diff)
new layout
- create baseof - separate list, single - header, footer
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..4035dd6
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+
+<head>
+ {{- partial "head.html" . }}
+</head>
+
+<body class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home{{ end }}{{ end }}">
+ <script>
+ setTheme();
+ </script>
+ <header class="header">
+ {{- partial "header.html" . }}
+ </header>
+
+ <main class="main">
+ {{- block "main" . }}
+ {{end }}
+ </main>
+
+ <footer class="footer">
+ {{- partial "footer.html" . }}
+ </footer>
+ {{ $highlight := resources.Get "highlight.min.js" | minify }}
+ <script src="{{ $highlight.Permalink }}"></script>
+ <script>
+ hljs.initHighlightingOnLoad();
+ </script>
+</body>
+
+</html> \ No newline at end of file