mirror of https://github.com/jpanther/congo.git
🚚 Move site description to languages config
parent
8319bddf04
commit
1857637094
|
@ -6,6 +6,7 @@ weight = 1
|
|||
rtl = false
|
||||
|
||||
title = "Congo"
|
||||
# description = "My awesome website"
|
||||
# copyright = "Copy, _right?_ :thinking_face:"
|
||||
|
||||
dateFormat = "2 January 2006"
|
||||
|
|
|
@ -9,7 +9,6 @@ colorScheme = "congo"
|
|||
enableSearch = false
|
||||
darkMode = "auto"
|
||||
# logo = "img/logo.jpg"
|
||||
# description = "My awesome website"
|
||||
# mainSections = ["section1", "section2"]
|
||||
# robots = ""
|
||||
showDarkToggle = false
|
||||
|
@ -38,6 +37,7 @@ showScrollToTop = true
|
|||
[list]
|
||||
showBreadcrumbs = false
|
||||
showSummary = false
|
||||
showTableOfContents = false
|
||||
groupByYear = true
|
||||
|
||||
[taxonomy]
|
||||
|
|
|
@ -6,6 +6,7 @@ weight = 1
|
|||
rtl = false
|
||||
|
||||
title = "Congo"
|
||||
# description = "My awesome website"
|
||||
# copyright = "Copy, _right?_ :thinking_face:"
|
||||
|
||||
dateFormat = "2 January 2006"
|
||||
|
|
|
@ -9,7 +9,6 @@ colorScheme = "congo"
|
|||
enableSearch = true
|
||||
darkMode = "auto"
|
||||
# logo = "img/logo.jpg"
|
||||
# description = "My awesome website"
|
||||
mainSections = ["samples"]
|
||||
# robots = ""
|
||||
showDarkToggle = false
|
||||
|
@ -38,6 +37,7 @@ showScrollToTop = true
|
|||
[list]
|
||||
showBreadcrumbs = true
|
||||
showSummary = false
|
||||
showTableOfContents = true
|
||||
groupByYear = false
|
||||
|
||||
[taxonomy]
|
||||
|
|
|
@ -14,10 +14,8 @@
|
|||
<meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" />
|
||||
{{- end }}
|
||||
{{/* Metadata */}}
|
||||
{{ with .Params.Description -}}
|
||||
{{ with .Site.Params.description -}}
|
||||
<meta name="description" content="{{ . }}" />
|
||||
{{- else -}}
|
||||
<meta name="description" content="{{ $.Site.Params.Description }}" />
|
||||
{{- end }}
|
||||
{{ with .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ . }}" />
|
||||
|
@ -62,8 +60,7 @@
|
|||
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }}
|
||||
{{ end }}
|
||||
{{ if $assets.Get "js" }}
|
||||
{{ $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>
|
||||
{{ $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>
|
||||
{{ end }}
|
||||
{{/* Icons */}}
|
||||
{{ if templates.Exists "partials/favicons.html" }}
|
||||
|
|
Loading…
Reference in New Issue