Skip to content

Commit

Permalink
Remove path prefixing
Browse files Browse the repository at this point in the history
Not needed if you have a domain, which I do
  • Loading branch information
JDSeiler committed May 27, 2024
1 parent a93649e commit 8e8ede4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8e8ede4

Please sign in to comment.