fix config setting, fix font size for h1 in article

hugo
Jacky Zhao 3 years ago
parent 3a98c8b554
commit 48d01810c4

@ -241,6 +241,10 @@ a[href^="./"] {
margin-top: 30vh; margin-top: 30vh;
} }
article > h1 {
font-size: 2em;
}
header { header {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

@ -8,7 +8,6 @@ ignoreFiles = [
"/content/templates/*", "/content/templates/*",
"/content/private/*", "/content/private/*",
] ]
title = "🪴 Quartz v3"
[markup] [markup]
[markup.tableOfContents] [markup.tableOfContents]

@ -4,7 +4,7 @@ description:
Here is the page description. This is an example Quartz site that details installation, Here is the page description. This is an example Quartz site that details installation,
setup, customization, and troubleshooting for Quartz itself. setup, customization, and troubleshooting for Quartz itself.
page_title: page_title:
Quartz Example Page "🪴 Quartz v3"
links: links:
- link_name: Twitter - link_name: Twitter
link: https://twitter.com/_jzhao link: https://twitter.com/_jzhao

@ -7,7 +7,7 @@
<div class="singlePage"> <div class="singlePage">
<!-- Begin actual content --> <!-- Begin actual content -->
<header> <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> <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> <div class="spacer"></div>
{{partial "darkmode.html" .}} {{partial "darkmode.html" .}}

Loading…
Cancel
Save