added anti-internet-enshittification against tracking
This commit is contained in:
parent
56b21e8ba7
commit
8a76a5d339
|
|
@ -14,6 +14,8 @@ const readerBar = require('eleventy-plugin-reader-bar');
|
||||||
const markdownIt = require('markdown-it');
|
const markdownIt = require('markdown-it');
|
||||||
const markdownItAnchor = require('markdown-it-anchor');
|
const markdownItAnchor = require('markdown-it-anchor');
|
||||||
const pluginTOC = require('eleventy-plugin-toc')
|
const pluginTOC = require('eleventy-plugin-toc')
|
||||||
|
// basic internet enshittification measure
|
||||||
|
const pluginCleanUrls = require("@inframanufaktur/eleventy-plugin-clean-urls");
|
||||||
|
|
||||||
module.exports = function(eleventyConfig) {
|
module.exports = function(eleventyConfig) {
|
||||||
eleventyConfig.addPlugin(syntaxHighlight); // syntax highlighting
|
eleventyConfig.addPlugin(syntaxHighlight); // syntax highlighting
|
||||||
|
|
@ -29,6 +31,7 @@ module.exports = function(eleventyConfig) {
|
||||||
wrapper: 'div',
|
wrapper: 'div',
|
||||||
ul: true
|
ul: true
|
||||||
}) // Table of Contents
|
}) // Table of Contents
|
||||||
|
eleventyConfig.addPlugin(pluginCleanUrls);
|
||||||
|
|
||||||
// toc
|
// toc
|
||||||
eleventyConfig.setLibrary(
|
eleventyConfig.setLibrary(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue