The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: only one h1 on a page (closes #1269)

+5 -4
+1 -1
quartz/components/Explorer.tsx
··· 92 92 data-savestate={opts.useSavedState} 93 93 data-tree={jsonTree} 94 94 > 95 - <h1>{opts.title ?? i18n(cfg.locale).components.explorer.title}</h1> 95 + <h2>{opts.title ?? i18n(cfg.locale).components.explorer.title}</h2> 96 96 <svg 97 97 xmlns="http://www.w3.org/2000/svg" 98 98 width="14"
+3 -2
quartz/components/PageTitle.tsx
··· 7 7 const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title 8 8 const baseDir = pathToRoot(fileData.slug!) 9 9 return ( 10 - <h1 class={classNames(displayClass, "page-title")}> 10 + <h2 class={classNames(displayClass, "page-title")}> 11 11 <a href={baseDir}>{title}</a> 12 - </h1> 12 + </h2> 13 13 ) 14 14 } 15 15 16 16 PageTitle.css = ` 17 17 .page-title { 18 + font-size: 1.75rem; 18 19 margin: 0; 19 20 } 20 21 `
+1 -1
quartz/components/styles/explorer.scss
··· 11 11 display: flex; 12 12 align-items: center; 13 13 14 - & h1 { 14 + & h2 { 15 15 font-size: 1rem; 16 16 display: inline-block; 17 17 margin: 0;