diff --git a/_config.yml b/_config.yml index 1f9f862..fddc782 100644 --- a/_config.yml +++ b/_config.yml @@ -1,7 +1,19 @@ +collections: + topics: + output: true + defaults: - scope: + path: '' type: "posts" values: layout: "corrupt_post" author: "Bill Niblock" + - + scope: + path: '' + type: "topics" + values: + layout: "corrupt_collection" + permalink: "/topics/:name" diff --git a/_includes/topics.html b/_includes/topics.html new file mode 100644 index 0000000..8b9a412 --- /dev/null +++ b/_includes/topics.html @@ -0,0 +1,16 @@ +{% for post in site.posts %} + {% if post.topics contains page.title %} +