2023-10-15 04:17:04 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
<html>
|
|
|
|
{{ partial "page_header.html" . }}
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h1>{{ block "title" .}}
|
|
|
|
{{ .Title | title }}
|
|
|
|
{{- end }}
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<!-- Code that all your templates share, like a header -->
|
|
|
|
{{ block "main" . }}
|
|
|
|
{{ .Content }}
|
|
|
|
<!-- The part of the page that begins to differ between templates -->
|
|
|
|
{{ end }}
|
|
|
|
|
2023-11-14 00:49:36 +00:00
|
|
|
<script src="/js/dark.js"></script>
|
2023-10-15 04:17:04 +00:00
|
|
|
{{ block "footer" . }}
|
|
|
|
<!-- More shared code, perhaps a footer but that can be overridden if need be in -->
|
2023-10-16 16:14:59 +00:00
|
|
|
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
|
|
|
|
</script>
|
2023-10-15 04:17:04 +00:00
|
|
|
{{ end }}
|
|
|
|
</body>
|
|
|
|
</html>
|