From 9ffe2fd9656aab48c7365c44248072a051f76506 Mon Sep 17 00:00:00 2001 From: zzossig Date: Sun, 12 Jan 2020 23:42:54 +0900 Subject: [PATCH] img header font shadow, font color option added --- README.ko.md | 4 ++++ README.md | 4 ++++ archetypes/header.md | 4 ++++ exampleSite/content/_index.md | 4 ++++ layouts/partials/header/header-img.html | 4 ++-- 5 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.ko.md b/README.ko.md index 8869f9b..8b1c25a 100644 --- a/README.ko.md +++ b/README.ko.md @@ -751,7 +751,11 @@ header: - subtitle: - + titleColor: + titleShadow: false titleFontSize: 44 + subtitleColor: + subtitleCursive: false subtitleFontSize: 16 spaceBetweenTitleSubtitle: 20 diff --git a/README.md b/README.md index b2bf3db..a09f3af 100644 --- a/README.md +++ b/README.md @@ -744,7 +744,11 @@ header: - subtitle: - + titleColor: + titleShadow: false titleFontSize: 44 + subtitleColor: + subtitleCursive: false subtitleFontSize: 16 spaceBetweenTitleSubtitle: 20 diff --git a/archetypes/header.md b/archetypes/header.md index fe7bf81..35c941b 100644 --- a/archetypes/header.md +++ b/archetypes/header.md @@ -31,7 +31,11 @@ header: subtitle: - header subtitle1 - header subtitle2 + titleColor: + titleShadow: false titleFontSize: 44 + subtitleColor: + subtitleCursive: false subtitleFontSize: 16 spaceBetweenTitleSubtitle: 20 diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index a91e75f..3c8fa04 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -30,7 +30,11 @@ header: - subtitle: - + titleColor: + titleShadow: false titleFontSize: 44 + subtitleColor: + subtitleCursive: false subtitleFontSize: 16 spaceBetweenTitleSubtitle: 20 diff --git a/layouts/partials/header/header-img.html b/layouts/partials/header/header-img.html index 47290df..67078d2 100644 --- a/layouts/partials/header/header-img.html +++ b/layouts/partials/header/header-img.html @@ -6,7 +6,7 @@ {{ $header := . }} {{ if .title }} {{ range .title }} -
+
{{ . }}
{{ end }} @@ -16,7 +16,7 @@ {{ end }} {{ if .subtitle }} {{ range .subtitle }} -
+
{{ . }}
{{ end }}