upgrade hugo

This commit is contained in:
2026-08-09 13:51:53 +00:00
parent 2880edce69
commit cbb31f73f4
6 changed files with 14 additions and 14 deletions
+8 -8
View File
@@ -1,11 +1,11 @@
$color-fg: #{{ .Site.Data.theme.color.fg }};
$color-fg-dark: #{{ .Site.Data.theme.color.fg_dark }};
$color-fg-accent: #{{ .Site.Data.theme.color.fg_accent }};
$color-bg: #{{ .Site.Data.theme.color.bg }};
$color-bg-accent-light: #{{ .Site.Data.theme.color.bg_accent_light }};
$color-bg-accent-dark: #{{ .Site.Data.theme.color.bg_accent_dark }};
$opacity-low: {{ .Site.Data.theme.opacity.low }};
$opacity-mid: {{ .Site.Data.theme.opacity.med }};
$color-fg: #{{ hugo.Data.theme.color.fg }};
$color-fg-dark: #{{ hugo.Data.theme.color.fg_dark }};
$color-fg-accent: #{{ hugo.Data.theme.color.fg_accent }};
$color-bg: #{{ hugo.Data.theme.color.bg }};
$color-bg-accent-light: #{{ hugo.Data.theme.color.bg_accent_light }};
$color-bg-accent-dark: #{{ hugo.Data.theme.color.bg_accent_dark }};
$opacity-low: {{ hugo.Data.theme.opacity.low }};
$opacity-mid: {{ hugo.Data.theme.opacity.med }};
@import "basic.scss";
@import "classic-layout.scss";
+1 -1
View File
@@ -8,4 +8,4 @@ while IFS= read -r line || [[ -n "$line" ]]; do
dest_dir="$(dirname "$dest")"
mkdir -p "$dest_dir"
cp -r "$src" "$dest"
done < "data/copy-list"
done < "assets/copy-list"
+1 -1
View File
@@ -3,7 +3,7 @@ theme: yrzam
# SITE SETTINGS
baseURL:
title:
languageCode:
locale:
taxonomies:
# Create these per each section&taxo, replacing section
# with section name and taxo with taxonomy name
+1 -1
View File
@@ -2,4 +2,4 @@
set -e
cd "$(dirname "$0")"
cp ~/.config/theme.json ../data/theme.json
cp ~/.local/wconfig/theme.json ../data/theme.json
+1 -1
View File
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="{{ .Site.LanguageCode }}">
<html lang="{{ .Site.Language.Locale }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
+2 -2
View File
@@ -17,7 +17,7 @@
<title>{{ .Site.Title }}{{ if not .IsHome }}: {{ .LinkTitle | humanize }}{{ end }}</title>
<description>{{ if not .IsHome }}{{ .Title }} on {{ end }}{{ .Site.Title }}</description>
<link>{{ .Permalink }}</link>
<language>{{ site.Language.LanguageCode }}</language>{{ if site.Params.email }}
<language>{{ site.Language.Locale }}</language>{{ if site.Params.email }}
<managingEditor>{{ site.Params.email }}</managingEditor>{{ end }}
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{ with .OutputFormats.Get "RSS" -}}
@@ -34,4 +34,4 @@
</item>
{{- end }}
</channel>
</rss>
</rss>