J S
7c892580b5
Added template files for tags and categories. Updated css themes to something crappy.
24 lines
639 B
HTML
24 lines
639 B
HTML
<!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 }}
|
|
|
|
{{ block "footer" . }}
|
|
<!-- More shared code, perhaps a footer but that can be overridden if need be in -->
|
|
<script src="/js/dark.js" defer="" ></script>
|
|
{{ end }}
|
|
</body>
|
|
</html>
|