From 3a98c8b554c4b0e141f46a777c0fefe5ad4d4178 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 23 Dec 2021 14:32:47 -0800 Subject: [PATCH] actually display site title --- config.toml | 3 ++- layouts/_default/single.html | 27 ++++++++++++++------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/config.toml b/config.toml index dabe513d1..81297a20a 100644 --- a/config.toml +++ b/config.toml @@ -8,6 +8,7 @@ ignoreFiles = [ "/content/templates/*", "/content/private/*", ] +title = "🪴 Quartz v3" [markup] [markup.tableOfContents] @@ -24,4 +25,4 @@ ignoreFiles = [ lineNos = true lineNumbersInTable = true style = "dracula" - tabWidth = 4 \ No newline at end of file + tabWidth = 4 diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9f6443d1a..a5302f04f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,19 +7,20 @@
- {{if .Title}}

{{ .Title }}

{{end}} - Search IconIcon to open search -
- {{partial "darkmode.html" .}} -
-
- {{if $.Site.Data.config.enableToc}} - - {{end}} - {{.Content}} +

{{ .Site.Title }}

+ Search IconIcon to open search +
+ {{partial "darkmode.html" .}} + +
+ {{if .Title}}

{{ .Title }}

{{end}} + {{if $.Site.Data.config.enableToc}} + + {{end}} + {{.Content}}
{{partial "footer.html" .}}