fix pathing for codeberg build

This commit is contained in:
2026-04-30 09:46:04 -07:00
parent 5fa39c1148
commit f078ba8054
4 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,6 @@
{% endif %}
<title>{{ pageTitle }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<meta property="og:title" content="{{ pageTitle }}" />
<meta property="og:type" content="website" />

View File

@ -73,7 +73,7 @@
@media (prefers-reduced-motion: reduce) {
.category-title:has(h2:target) {
animation: none;
font-weight: bold;
color: var(--color-cyan);
}
}

View File

@ -1,3 +1,4 @@
import { HtmlBasePlugin } from "@11ty/eleventy";
import { IdAttributePlugin } from "@11ty/eleventy";
import pluginFilters from "./_config/filters.js";
@ -25,6 +26,9 @@ export default async function(eleventyConfig) {
/* All filters from _config/filters.js */
eleventyConfig.addPlugin(pluginFilters);
/* Pathprefix stuff */
eleventyConfig.addPlugin(HtmlBasePlugin);
/* `id` attributes */
eleventyConfig.addPlugin(IdAttributePlugin);

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"build": "rm -rf _site && npx @11ty/eleventy --quiet",
"build": "rm -rf _site && npx @11ty/eleventy --pathprefix=fedi-skillshares",
"dev": "rm -rf _live && npx @11ty/eleventy --serve --quiet --output _live"
},
"keywords": [],