🚚 Move site description to languages config

pull/100/head
James Panther 2022-01-20 16:08:18 +11:00
parent 8319bddf04
commit 1857637094
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
5 changed files with 6 additions and 7 deletions

View File

@ -6,6 +6,7 @@ weight = 1
rtl = false rtl = false
title = "Congo" title = "Congo"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:" # copyright = "Copy, _right?_ :thinking_face:"
dateFormat = "2 January 2006" dateFormat = "2 January 2006"

View File

@ -9,7 +9,6 @@ colorScheme = "congo"
enableSearch = false enableSearch = false
darkMode = "auto" darkMode = "auto"
# logo = "img/logo.jpg" # logo = "img/logo.jpg"
# description = "My awesome website"
# mainSections = ["section1", "section2"] # mainSections = ["section1", "section2"]
# robots = "" # robots = ""
showDarkToggle = false showDarkToggle = false
@ -38,6 +37,7 @@ showScrollToTop = true
[list] [list]
showBreadcrumbs = false showBreadcrumbs = false
showSummary = false showSummary = false
showTableOfContents = false
groupByYear = true groupByYear = true
[taxonomy] [taxonomy]

View File

@ -6,6 +6,7 @@ weight = 1
rtl = false rtl = false
title = "Congo" title = "Congo"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:" # copyright = "Copy, _right?_ :thinking_face:"
dateFormat = "2 January 2006" dateFormat = "2 January 2006"

View File

@ -9,7 +9,6 @@ colorScheme = "congo"
enableSearch = true enableSearch = true
darkMode = "auto" darkMode = "auto"
# logo = "img/logo.jpg" # logo = "img/logo.jpg"
# description = "My awesome website"
mainSections = ["samples"] mainSections = ["samples"]
# robots = "" # robots = ""
showDarkToggle = false showDarkToggle = false
@ -38,6 +37,7 @@ showScrollToTop = true
[list] [list]
showBreadcrumbs = true showBreadcrumbs = true
showSummary = false showSummary = false
showTableOfContents = true
groupByYear = false groupByYear = false
[taxonomy] [taxonomy]

View File

@ -14,10 +14,8 @@
<meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" /> <meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
{{- end }} {{- end }}
{{/* Metadata */}} {{/* Metadata */}}
{{ with .Params.Description -}} {{ with .Site.Params.description -}}
<meta name="description" content="{{ . }}" /> <meta name="description" content="{{ . }}" />
{{- else -}}
<meta name="description" content="{{ $.Site.Params.Description }}" />
{{- end }} {{- end }}
{{ with .Site.Params.keywords -}} {{ with .Site.Params.keywords -}}
<meta name="keywords" content="{{ . }}" /> <meta name="keywords" content="{{ . }}" />
@ -62,8 +60,7 @@
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }} {{ $assets.Add "js" (slice $jsFuse $jsSearch) }}
{{ end }} {{ end }}
{{ if $assets.Get "js" }} {{ if $assets.Get "js" }}
{{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint "sha512" }} {{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint "sha512" }} <script defer type="text/javascript" src="{{ $bundleJS.RelPermalink }}" integrity="{{ $bundleJS.Data.Integrity }}"></script>
<script defer type="text/javascript" src="{{ $bundleJS.RelPermalink }}" integrity="{{ $bundleJS.Data.Integrity }}"></script>
{{ end }} {{ end }}
{{/* Icons */}} {{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }} {{ if templates.Exists "partials/favicons.html" }}