diff --git a/.eleventy.js b/.eleventy.js index 3596ca4..d09dd06 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -5,6 +5,8 @@ module.exports = function(config) { config.addPlugin(syntaxHighlight) config.addLayoutAlias('base', 'base.njk') + config.addLayoutAlias('home', 'home.njk') + config.addLayoutAlias('page', 'page.njk') config.addPassthroughCopy('src/assets/images') diff --git a/src/code-of-conduct.md b/src/code-of-conduct.md index 64b0e40..49a1f56 100644 --- a/src/code-of-conduct.md +++ b/src/code-of-conduct.md @@ -1,7 +1,7 @@ --- layout: page title: 'Code of Conduct' -permalink: '/coc/index.html' +permalink: coc/index.html --- Lorem Ipsum dolor \ No newline at end of file diff --git a/src/data/members.json b/src/data/members.json index 36455aa..b092a81 100644 --- a/src/data/members.json +++ b/src/data/members.json @@ -2,21 +2,25 @@ { "title": "Max Böck", "url": "https://mxb.dev/", + "feed": "https://mxb.dev/feed.xml", "active": true }, { "title": "Test Site", "url": "https://github.com/maxboeck/", + "feed": null, "active": true }, { "title": "Manuel Matuzovic", "url": "https://www.matuzo.at/", + "feed": "https://www.matuzo.at/feed.xml", "active": true }, { "title": "Charlie Owen", "url": "https://www.sonniesedge.net/", + "feed": null, "active": true } ] \ No newline at end of file diff --git a/src/feeds.njk b/src/feeds.njk new file mode 100644 index 0000000..27acb2a --- /dev/null +++ b/src/feeds.njk @@ -0,0 +1,17 @@ +--- +permalink: feeds.xml +--- + + + + + {{ meta.title }} Member Feeds + + + {% for member in members %} + {% if member.feed %} + + {% endif %} + {% endfor %} + + \ No newline at end of file