diff --git a/content/categories/_index.md b/content/categories/_index.md new file mode 100644 index 0000000..3fc4943 --- /dev/null +++ b/content/categories/_index.md @@ -0,0 +1,5 @@ ++++ +[_build] + render = "never" + list = "never" ++++ diff --git a/content/page/_index.md b/content/page/_index.md new file mode 100644 index 0000000..3fc4943 --- /dev/null +++ b/content/page/_index.md @@ -0,0 +1,5 @@ ++++ +[_build] + render = "never" + list = "never" ++++ diff --git a/content/page/archive.md b/content/post/_index.md similarity index 86% rename from content/page/archive.md rename to content/post/_index.md index da44f8e..8cc9d74 100644 --- a/content/page/archive.md +++ b/content/post/_index.md @@ -1,6 +1,5 @@ --- title: "All posts" -layout: archive slug: archive type: page menus: archives diff --git a/hugo.yaml b/hugo.yaml index 78f15b1..e5474d0 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -23,12 +23,22 @@ mediaTypes: - "rss2" outputFormats: - RSS: + rss: mediaType: "application/rss+xml" path: feeds/ noUgly: false outputs: home: - - HTML - - RSS + - html + - rss + page: + - html + rss: + - rss + section: + - html + taxonomy: + - html + term: + - html diff --git a/layouts/_default/archive.html b/layouts/_default/archive.html deleted file mode 100644 index 4708cbb..0000000 --- a/layouts/_default/archive.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} -
- {{ range (where .Site.RegularPages "Section" .Params.archive_page_type).GroupByDate "2006" }} -

{{ .Key }}

- - {{ end }} -
-{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8dc7098..4708cbb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,10 +1,19 @@ {{ define "main" }} -

{{ .Title }}

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

{{ .LinkTitle }}

- {{ .Content }} - - read more - {{ end }} +
+ {{ range (where .Site.RegularPages "Section" .Params.archive_page_type).GroupByDate "2006" }} +

{{ .Key }}

+ + {{ end }} +
{{ end }}