Remove alias
This commit is contained in:
parent
3eb6c6a67d
commit
bc07327e60
@ -16,9 +16,6 @@ module.exports = function(eleventyConfig) {
|
|||||||
eleventyConfig.addPlugin(pluginSyntaxHighlight);
|
eleventyConfig.addPlugin(pluginSyntaxHighlight);
|
||||||
eleventyConfig.addPlugin(pluginNavigation);
|
eleventyConfig.addPlugin(pluginNavigation);
|
||||||
|
|
||||||
// Alias `layout: post` to `layout: layouts/post.njk`
|
|
||||||
eleventyConfig.addLayoutAlias("post", "layouts/post.njk");
|
|
||||||
|
|
||||||
eleventyConfig.addFilter("readableDate", dateObj => {
|
eleventyConfig.addFilter("readableDate", dateObj => {
|
||||||
return DateTime.fromJSDate(dateObj, {zone: 'utc'}).toFormat("dd LLL yyyy");
|
return DateTime.fromJSDate(dateObj, {zone: 'utc'}).toFormat("dd LLL yyyy");
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user