From 8a76a5d339b78aaef5fc359d7824dad090f33d2c Mon Sep 17 00:00:00 2001 From: arian Date: Sat, 25 May 2024 14:11:23 +0200 Subject: [PATCH] added anti-internet-enshittification against tracking --- .eleventy.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eleventy.js b/.eleventy.js index f076907..5f353e7 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -14,6 +14,8 @@ const readerBar = require('eleventy-plugin-reader-bar'); const markdownIt = require('markdown-it'); const markdownItAnchor = require('markdown-it-anchor'); const pluginTOC = require('eleventy-plugin-toc') +// basic internet enshittification measure +const pluginCleanUrls = require("@inframanufaktur/eleventy-plugin-clean-urls"); module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(syntaxHighlight); // syntax highlighting @@ -29,6 +31,7 @@ module.exports = function(eleventyConfig) { wrapper: 'div', ul: true }) // Table of Contents + eleventyConfig.addPlugin(pluginCleanUrls); // toc eleventyConfig.setLibrary(