From 48d01810c4629341d9481632fc7f769dcffe0bd7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 23 Dec 2021 22:40:59 +0000
Subject: [PATCH] fix config setting, fix font size for h1 in article

---
 layouts/_default/single.html |    2 +-
 data/config.yaml             |    4 ++--
 assets/base.scss             |    4 ++++
 config.toml                  |    1 -
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/assets/base.scss b/assets/base.scss
index 982dc07..c38263f 100644
--- a/assets/base.scss
+++ b/assets/base.scss
@@ -241,6 +241,10 @@
   margin-top: 30vh;
 }
 
+article > h1 {
+  font-size: 2em;
+}
+
 header {
   display: flex;
   flex-direction: row;
diff --git a/config.toml b/config.toml
index 81297a2..e0a9e55 100644
--- a/config.toml
+++ b/config.toml
@@ -8,7 +8,6 @@
     "/content/templates/*",
     "/content/private/*",
 ]
-title = "🪴 Quartz v3"
 
 [markup]
     [markup.tableOfContents]
diff --git a/data/config.yaml b/data/config.yaml
index 4947907..1ca6d19 100644
--- a/data/config.yaml
+++ b/data/config.yaml
@@ -4,9 +4,9 @@
   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 a5302f0..cbf70a2 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -7,7 +7,7 @@
 <div class="singlePage">
     <!-- Begin actual content -->
     <header>
-        <h1 id="page-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
+        <h1 id="page-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Data.config.page_title }}</a></h1>
       <svg tabindex="0" id="search-icon" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search Icon</title><desc id="desc">Icon to open search</desc><g class="search-path" fill="none"><path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4"/><circle cx="8" cy="8" r="7"/></g></svg>
       <div class="spacer"></div>
       {{partial "darkmode.html" .}}

--
Gitblit v1.10.0