diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html index 714ea05..c668a50 100644 --- a/layouts/partials/postlist.html +++ b/layouts/partials/postlist.html @@ -1,5 +1,6 @@ {{ range .Pages }} - {{ if not (isset .Params "hide") }} + {{ with .Params.hide }} + {{ else }}

{{ .Title | markdownify }}

diff --git a/layouts/partials/sectionlist.html b/layouts/partials/sectionlist.html deleted file mode 100644 index 090e6d5..0000000 --- a/layouts/partials/sectionlist.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ range .Sections }} - {{ if not (isset .Params "hide") }} - - {{ end }} -{{ end }} diff --git a/layouts/post/list.html b/layouts/post/list.html deleted file mode 100644 index 027e282..0000000 --- a/layouts/post/list.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "main" }} -
-

{{ .Title | markdownify }}

- {{ .Content }} -
- - {{ range .Pages }} - - {{ end }} -{{ end }}