chugging away, no i am not splitting this into fine-grained commits
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
import { feedPlugin } from "@11ty/eleventy-plugin-rss";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
import { feedPlugin } from "@11ty/eleventy-plugin-rss";
|
||||
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
|
||||
|
||||
export default async function(eleventyConfig) {
|
||||
/* Filters */
|
||||
eleventyConfig.addFilter("removeBasicTags", (tags) => {
|
||||
return tags.filter(tag => ["all", "posts", "gallery", "reference"].indexOf(tag) === -1);
|
||||
});
|
||||
|
||||
/* Passthroughs */
|
||||
eleventyConfig.addPassthroughCopy({"css": "assets/css"});
|
||||
|
||||
@ -43,6 +50,12 @@ export default async function(eleventyConfig) {
|
||||
},
|
||||
});
|
||||
|
||||
/* Navigation */
|
||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||
|
||||
/* Syntax highlighting */
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
|
||||
/* Watch when serving */
|
||||
eleventyConfig.addWatchTarget("css");
|
||||
};
|
||||
@ -51,6 +64,7 @@ export const config = {
|
||||
dir: {
|
||||
input: "src",
|
||||
includes: "../_includes",
|
||||
layouts: "../_includes/layouts",
|
||||
data: "../_data"
|
||||
},
|
||||
markdownTemplateEngine: "njk",
|
||||
|
||||
Reference in New Issue
Block a user