upgrade hugo
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
@@ -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
@@ -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" />
|
||||
|
||||
+1
-1
@@ -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" -}}
|
||||
|
||||
Reference in New Issue
Block a user