diff --git a/eleventy.config.js b/eleventy.config.js index d6789bb..9a83481 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -29,6 +29,10 @@ const setupPlugins = eleventyConfig => { }, }, }) + + eleventyConfig.addLiquidFilter('dateToRfc822', rssPlugin.dateToRfc822) + eleventyConfig.addLiquidFilter('dateToRfc3339', rssPlugin.dateToRfc3339) + eleventyConfig.addLiquidFilter('getNewestCollectionItemDate', rssPlugin.getNewestCollectionItemDate) } export default function (eleventyConfig) { diff --git a/src/_includes/blog.liquid b/src/_includes/blog.liquid new file mode 100644 index 0000000..bffc656 --- /dev/null +++ b/src/_includes/blog.liquid @@ -0,0 +1,21 @@ +{% layout 'obsidian.liquid' %} + +{% block content %} +
by Garrett Mills on {{ page.date | date: "%Y-%m-%d" }}
+ + {% block blog_inner_content %} +You should be redirected shortly. If not, click here.
++This list is also available in the standard OPML format. ++ +{% for cat in collections.opmlByCategory %} + {% if cat.title == "Garrett Mills" %} +
-This list is also available in the standard OPML format. -- -{% for cat in collections.opmlByCategory %} - {% if (cat.title == "Garrett Mills") %} -
Write-ups and musings, often technical, sometimes not.
+ +