diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 41b8269..26bda1d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,3 +1,22 @@ {{ define "main" }} - +
+
+
+
{{ .Title }}
+
+ {{- partial "prose.html" . -}} +
+ +
{{ end }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f81fed7..6463bb5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,43 +12,6 @@ {{- end -}} -
- {{- .Content -}} -
+ {{- partial "prose.html" . -}} {{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 9f849ac..f319bf9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,17 +1,2 @@ {{ define "main" }} -
- {{ .Content }} - -
{{ end }} \ No newline at end of file diff --git a/layouts/partials/prose.html b/layouts/partials/prose.html new file mode 100644 index 0000000..fb4dce8 --- /dev/null +++ b/layouts/partials/prose.html @@ -0,0 +1,38 @@ +
+ {{- .Content -}} +
\ No newline at end of file