Add retro theme

This commit is contained in:
2024-02-19 14:05:14 +00:00
parent 58987bfbdf
commit 04374cdfeb
17 changed files with 274 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
</head>
<body background="#FFFFFF" text="#000000">
{{ partial "header.html" . }}
{{ block "content" . }}
{{ end }}
{{ partial "footer.html" . }}
</body>
</html>

View File

@@ -0,0 +1,17 @@
{{ define "title" }}
{{ .Title }}
{{ end }}
{{ define "subtitle" }}
{{ .Params.subtitle }}
{{ end }}
{{ define "content" }}
{{ .Content }}
<ul>
{{- range .Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{- end }}
</ul>
{{ end }}

View File

@@ -0,0 +1,11 @@
{{ define "title" }}
{{ .Title }}
{{ end }}
{{ define "subtitle" }}
{{ .Params.subtitle }}
{{ end }}
{{ define "content" }}
{{ .Content }}
{{ end }}