change base url to be rezepte.eliaskohout.de; make resources relative paths;
Some checks are pending
Build and Push Docker Container / build-and-push (push) Waiting to run

This commit is contained in:
2025-03-23 16:37:05 +01:00
parent 68d60a6207
commit 658f1352dd
2 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
baseURL = 'https://rezepte.kohout-dev.de/'
baseURL = 'https://rezepte.eliaskohout.de/'
languageCode = 'de-de'
title = 'Rezepte'

View File

@@ -14,17 +14,17 @@
<!-- Stylesheets -->
{{ $style := resources.Get "css/main.css" | resources.Minify | resources.Fingerprint }}
<link rel='stylesheet' type='text/css' href="{{ $style.Permalink }}">
<link rel='stylesheet' type='text/css' href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "css/fonts.css" | resources.Minify | resources.Fingerprint }}
<link rel='stylesheet' type='text/css' href="{{ $style.Permalink }}">
<link rel='stylesheet' type='text/css' href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "css/dark.css" | resources.Minify | resources.Fingerprint }}
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="{{ $style.Permalink }}"
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}"
{{ if eq .Site.Params.mode "auto" }} media="(prefers-color-scheme: dark)" {{ end }}
{{ if eq .Site.Params.mode "toggle" }} disabled {{ end }} >
<!-- Scripts -->
{{ $style := resources.Get "js/themetoggle.js" | resources.Minify | resources.Fingerprint }}
<script src="{{ $style.Permalink }}"></script>
<script src="{{ $style.RelPermalink }}"></script>
<!-- Meta data -->
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">