-
Notifications
You must be signed in to change notification settings - Fork 0
/
baseof.html
44 lines (37 loc) · 1.39 KB
/
baseof.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- TODO: depecated https://developer.mozilla.org/ja/docs/Web/CSS/@media/device-width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ block "title" . }}{{ end }}</title>
{{ $css := resources.Get "main.scss" | resources.ToCSS }}
<style>
{{ $css.Content | safeCSS }}
</style>
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="application/atom+xml" title="Atom" href="%s"/>` .Rel .Permalink | safeHTML }}
{{ end -}}
<script>
MathJax = {
tex: {
tags: 'ams',
inlineMath: [['$', '$'], ['\\(', '\\)']],
}
};
</script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
</head>
<body>
{{ "<!-- _default/baseof.html start -->" | safeHTML }}
<a href="{{ relURL "/" }}">{{ .Site.Title }}</a> /
<a href="{{ relURL "/posts/" }}">posts</a> /
<a href="{{ relURL "/tags/" }}">tags</a> /
<a href="{{ relURL "/works/" }}">works</a> /
<a href="{{ relURL "/index.xml" }}">feed</a> /
<a href="https://github.com/klknn/klknn.github.io">src</a>
{{ block "main" . }}{{ end }}
{{ "<!-- _default/baseof.html end -->" | safeHTML }}
Copyright © {{ .Site.Params.Author }} All Rights Reserved.
</body>
</html>