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