mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-18 01:10:25 +00:00
Fix sitemap doubled pathPrefix and CSS paths for sub-sites
- sitemap.njk: remove site.pathPrefix (page.url already includes it in Eleventy v3) - base.njk: prefix CSS paths with site.pathPrefix so sub-sites load their own theme
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/shared-base.css">
|
||||
<link rel="stylesheet" href="/theme.css">
|
||||
<link rel="stylesheet" href="{{ site.pathPrefix | default('') }}/shared-base.css">
|
||||
<link rel="stylesheet" href="{{ site.pathPrefix | default('') }}/theme.css">
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
|
||||
Reference in New Issue
Block a user