diff --git a/templates/404.html b/templates/404.html index c3825f4..931ea9b 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,7 +1,9 @@ +{{ define "404" }} 404 -{{ template "header" . }} +{{ template "head" . }} 404 — nothing like that here +{{ end }} diff --git a/templates/500.html b/templates/500.html index 919f26c..5495d31 100644 --- a/templates/500.html +++ b/templates/500.html @@ -1,3 +1,4 @@ +{{ define "500" }} 500 {{ template "header" . }} @@ -5,3 +6,4 @@ 500 — something broke! +{{ end }} diff --git a/templates/nav.html b/templates/nav.html index 7568f01..20dca50 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,9 +1,10 @@ {{ define "nav" }} {{ end }} diff --git a/templates/repo.html b/templates/repo.html index 3c99df5..a033f0d 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -44,6 +44,11 @@ {{ end }} {{ end }} +
+
+          {{- if .readme }}{{ .readme }}{{- end -}}
+        
+