aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
committerJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
commitcc1220bfd794dff1fc28bd39cafb63c4b1093cf8 (patch)
tree8d51983970fc62457ed97599d784cfa150b5c766 /layouts/_default/baseof.html
parenta181759e4a108c35fcf6898abbf17f2a424d85dc (diff)
rewrite layouts
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..8c47b26
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="{{- site.Language.Lang -}}">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{ .Title }}</title>
+ <link rel="stylesheet" href="/css/styles.css">
+ <!-- TODO -->
+ {{ if .Params.math }}
+ {{- partial "katex.html" . -}}
+ {{ end }}
+ </head>
+ <body>
+ <header>
+ {{- partial "header.html" . -}}
+ {{- block "header" . }}
+ <h1>{{ .Title | markdownify }}</h1>
+ {{- end }}
+ </header>
+ <main>
+ {{- block "main" . }}
+ {{ .Content }}
+ {{- end }}
+ </main>
+ <hr />
+ <footer>
+ {{- block "footer" . }}{{- end }}
+ {{- partial "footer.html" . -}}
+ </footer>
+ </body>
+</html>