{{ .Title }}
+ +{{ .Content }} +{{ partial "post_list.html" (dict "context" .)}} +{{ end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..a1ecdc4 --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,8 @@ +{{ define "main" }} +{{ partial "back_link.html" .}} + +{{ .Title }}
+ +{{ .Content }} +{{ partial "post_list.html" (dict "context" .)}} +{{ end }} diff --git a/layouts/baseof.html b/layouts/baseof.html deleted file mode 100644 index bedcbb4..0000000 --- a/layouts/baseof.html +++ /dev/null @@ -1,13 +0,0 @@ - - - {{- partial "head.html" . -}} - -
- {{- block "main" . }}{{- end }}
-
-
- - {{ else }} -
- {{ end }} -{{ else }} - {{ with .Get 0 }} -
- {{ else }} -
- {{ end }} -{{ end }} \ No newline at end of file