fix pathing for codeberg build
This commit is contained in:
@ -11,7 +11,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<title>{{ pageTitle }}</title>
|
<title>{{ pageTitle }}</title>
|
||||||
<meta name="description" content="{{ description or metadata.description }}">
|
<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:title" content="{{ pageTitle }}" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
|||||||
@ -73,7 +73,7 @@
|
|||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.category-title:has(h2:target) {
|
.category-title:has(h2:target) {
|
||||||
animation: none;
|
animation: none;
|
||||||
font-weight: bold;
|
color: var(--color-cyan);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
import { HtmlBasePlugin } from "@11ty/eleventy";
|
||||||
import { IdAttributePlugin } from "@11ty/eleventy";
|
import { IdAttributePlugin } from "@11ty/eleventy";
|
||||||
|
|
||||||
import pluginFilters from "./_config/filters.js";
|
import pluginFilters from "./_config/filters.js";
|
||||||
@ -25,6 +26,9 @@ export default async function(eleventyConfig) {
|
|||||||
/* All filters from _config/filters.js */
|
/* All filters from _config/filters.js */
|
||||||
eleventyConfig.addPlugin(pluginFilters);
|
eleventyConfig.addPlugin(pluginFilters);
|
||||||
|
|
||||||
|
/* Pathprefix stuff */
|
||||||
|
eleventyConfig.addPlugin(HtmlBasePlugin);
|
||||||
|
|
||||||
/* `id` attributes */
|
/* `id` attributes */
|
||||||
eleventyConfig.addPlugin(IdAttributePlugin);
|
eleventyConfig.addPlugin(IdAttributePlugin);
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"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"
|
"dev": "rm -rf _live && npx @11ty/eleventy --serve --quiet --output _live"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user