diff --git a/themes/freenet/layouts/_default/blog.html b/themes/freenet/layouts/_default/blog.html deleted file mode 100644 index e4c72ca7..00000000 --- a/themes/freenet/layouts/_default/blog.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ define "main" }} -
-
-

{{ .Title }}

-

{{ .Date.Format "January 2, 2006" }}

-
- {{ .Content }} -
-
-
-{{ end }} diff --git a/themes/freenet/layouts/_default/list.html b/themes/freenet/layouts/_default/list.html index 81a71051..8f9cefd3 100644 --- a/themes/freenet/layouts/_default/list.html +++ b/themes/freenet/layouts/_default/list.html @@ -6,7 +6,7 @@

{{ .Title }}

{{ .Content }}
- {{ range .Pages.ByDate.Reverse }} + {{ range .Pages }}

{{ .LinkTitle }}

diff --git a/themes/freenet/layouts/_default/single.html b/themes/freenet/layouts/_default/single.html index 28b4bb7b..6fe1eb3e 100644 --- a/themes/freenet/layouts/_default/single.html +++ b/themes/freenet/layouts/_default/single.html @@ -1,12 +1,8 @@ {{ define "main" }} - {{ if eq .Section "blog" }} - {{ partial "partials/blog.html" . }} - {{ else }} -

{{ .Title }}

+

{{ .Title }}

- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format ":date_long" }} - {{ .Content }} - {{ end }} + {{ .Content }} {{ end }} diff --git a/themes/freenet/layouts/partials/blog.html b/themes/freenet/layouts/partials/blog.html deleted file mode 100644 index 22f8ff5a..00000000 --- a/themes/freenet/layouts/partials/blog.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-

{{ .Title }}

-

{{ .Date.Format "January 2, 2006" }}

-
- {{ .Content }} -
-
-