feat: add decap cms for editing content
This commit is contained in:
parent
320b933c04
commit
f37d0b3571
11 changed files with 117 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
||||
|
||||
const {
|
||||
postsByTag,
|
||||
catalogueByType,
|
||||
postsByTag,
|
||||
} = require("./config/collections/index.js");
|
||||
const { dir } = require("./config/constants.js");
|
||||
const {
|
||||
|
@ -29,8 +29,8 @@ module.exports = (eleventyConfig) => {
|
|||
eleventyConfig.addPlugin(pluginRss);
|
||||
|
||||
// --------------------- Custom Collections -----------------------
|
||||
eleventyConfig.addCollection("postsByTag", postsByTag);
|
||||
eleventyConfig.addCollection("catalogueByType", catalogueByType);
|
||||
eleventyConfig.addCollection("postsByTag", postsByTag);
|
||||
|
||||
// --------------------- Custom Filters -----------------------
|
||||
eleventyConfig.addFilter("allTagCounts", allTagCounts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue