diff --git a/_config/filters.js b/_config/filters.js index feb3499..4af2fe8 100644 --- a/_config/filters.js +++ b/_config/filters.js @@ -8,7 +8,7 @@ export default function(eleventyConfig) { eleventyConfig.addFilter("htmlDateString", (dateObj) => { // dateObj input: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-date-string - return DateTime.fromJSDate(dateObj, {zone: 'utc'}).toFormat('yyyy-LL-dd'); + return DateTime.fromJSDate(dateObj, { zone: "utc" }).toFormat('yyyy-LL-dd'); }); // Get the first `n` elements of a collection. diff --git a/content/blog/fifthpost.md b/content/blog/fifthpost.md index da2e95e..6ff059b 100644 --- a/content/blog/fifthpost.md +++ b/content/blog/fifthpost.md @@ -1,4 +1,4 @@ ----node +---js const title = "This is a fifth post (draft)"; const date = "2023-01-23"; const draft = true; diff --git a/content/tag-pages.njk b/content/tag-pages.njk index 9533be9..33b7abf 100644 --- a/content/tag-pages.njk +++ b/content/tag-pages.njk @@ -1,4 +1,4 @@ ----node +---js //