aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
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>