From 8e8ede488018bd95a7cb26c8fddbc99c5a412e73 Mon Sep 17 00:00:00 2001 From: Jordan Seiler Date: Mon, 27 May 2024 15:45:42 -0400 Subject: [PATCH] Remove path prefixing Not needed if you have a domain, which I do --- .eleventy.js | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 43bfe0b..e5504c5 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,10 +1,8 @@ const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); const katexRendering = require("@iktakahiro/markdown-it-katex"); -const { EleventyHtmlBasePlugin } = require("@11ty/eleventy"); module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(syntaxHighlight); - eleventyConfig.addPlugin(EleventyHtmlBasePlugin); eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(katexRendering)); eleventyConfig.addPassthroughCopy("src/css"); eleventyConfig.addPassthroughCopy("src/img"); diff --git a/package.json b/package.json index f8d4f7a..9a334cd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "build": "npx @11ty/eleventy --pathprefix='/webpage/'", + "build": "npx @11ty/eleventy", "serve": "npx @11ty/eleventy --serve", "test": "echo \"Error: no test specified\" && exit 1", "spell:posts": "npx cspell src/posts",