From 48d01810c4629341d9481632fc7f769dcffe0bd7 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 23 Dec 2021 14:40:59 -0800 Subject: [PATCH] fix config setting, fix font size for h1 in article --- assets/base.scss | 4 ++++ config.toml | 1 - data/config.yaml | 4 ++-- layouts/_default/single.html | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/base.scss b/assets/base.scss index 982dc07d3..c38263fab 100644 --- a/assets/base.scss +++ b/assets/base.scss @@ -241,6 +241,10 @@ a[href^="./"] { margin-top: 30vh; } +article > h1 { + font-size: 2em; +} + header { display: flex; flex-direction: row; diff --git a/config.toml b/config.toml index 81297a20a..e0a9e557e 100644 --- a/config.toml +++ b/config.toml @@ -8,7 +8,6 @@ ignoreFiles = [ "/content/templates/*", "/content/private/*", ] -title = "🪴 Quartz v3" [markup] [markup.tableOfContents] diff --git a/data/config.yaml b/data/config.yaml index 49479077b..1ca6d1984 100644 --- a/data/config.yaml +++ b/data/config.yaml @@ -4,9 +4,9 @@ description: Here is the page description. This is an example Quartz site that details installation, setup, customization, and troubleshooting for Quartz itself. page_title: - Quartz Example Page + "🪴 Quartz v3" links: - link_name: Twitter link: https://twitter.com/_jzhao - link_name: Github - link: https://github.com/jackyzha0 \ No newline at end of file + link: https://github.com/jackyzha0 diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a5302f04f..cbf70a2a7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@
-

{{ .Site.Title }}

+

{{ .Site.Data.config.page_title }}

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