diff --git a/assets/css/index.scss b/assets/css/index.scss index defdda8..d18a331 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -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"; diff --git a/init/copy-list.sh b/init/copy-list.sh index 8ded4a8..6f50b94 100644 --- a/init/copy-list.sh +++ b/init/copy-list.sh @@ -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" diff --git a/init/hugo.yaml b/init/hugo.yaml index e65145a..51e2e32 100644 --- a/init/hugo.yaml +++ b/init/hugo.yaml @@ -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 diff --git a/init/import-environment.sh b/init/import-environment.sh index 6729d3b..0fce58a 100755 --- a/init/import-environment.sh +++ b/init/import-environment.sh @@ -2,4 +2,4 @@ set -e cd "$(dirname "$0")" -cp ~/.config/theme.json ../data/theme.json +cp ~/.local/wconfig/theme.json ../data/theme.json diff --git a/layouts/baseof.html b/layouts/baseof.html index 1a006de..e0804ae 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -1,5 +1,5 @@ - + diff --git a/layouts/rss.xml b/layouts/rss.xml index 1e566e8..0195560 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -17,7 +17,7 @@ {{ .Site.Title }}{{ if not .IsHome }}: {{ .LinkTitle | humanize }}{{ end }} {{ if not .IsHome }}{{ .Title }} on {{ end }}{{ .Site.Title }} {{ .Permalink }} - {{ site.Language.LanguageCode }}{{ if site.Params.email }} + {{ site.Language.Locale }}{{ if site.Params.email }} {{ site.Params.email }}{{ end }} {{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .OutputFormats.Get "RSS" -}} @@ -34,4 +34,4 @@ {{- end }} - \ No newline at end of file +