Compare commits

...

2 Commits

Author SHA1 Message Date
7cff045cb3
Website header title should not be h1 2023-01-07 20:50:01 -06:00
9f080377e7
Allow adding descriptions to taxonomies 2023-01-07 20:40:46 -06:00
3 changed files with 21 additions and 20 deletions

View File

@ -314,14 +314,11 @@
margin: 16px 0; margin: 16px 0;
} }
.header h1 {
font-size: 1.5em;
font-weight: bold;
}
.header a, .header a,
.section-header a { .section-header a {
color: inherit; color: inherit;
font-size: 1.5em;
font-weight: bold;
} }
.section-header-link svg { .section-header-link svg {

View File

@ -1,9 +1,7 @@
<header class="header"> <header class="header">
<h1> <a href="{{ .Site.Home.Permalink | absLangURL }}">
<a href="{{ .Site.Home.Permalink | absLangURL }}"> {{ .Site.Title | markdownify }}
{{ .Site.Title | markdownify }} </a>
</a>
</h1>
</header> </header>
<div class="topbar"> <div class="topbar">

View File

@ -1,15 +1,21 @@
{{ define "main" }} {{ define "main" }}
<h1> <div class="post-title">
{{ if eq .Data.Singular "tag" }} <h1>
{{ partial "icon.html" "tag" }} {{ if eq .Data.Singular "tag" }}
{{ else if eq .Data.Singular "category" }} {{ partial "icon.html" "tag" }}
{{ partial "icon.html" "folder" }} {{ else if eq .Data.Singular "category" }}
{{ else }} {{ partial "icon.html" "folder" }}
{{ partial "icon.html" "filter" }} {{ else }}
{{ end }} {{ partial "icon.html" "filter" }}
{{ end }}
{{ .Title | markdownify }} {{ .Title | markdownify }}
</h1> </h1>
</div>
{{ with .Content }}
{{ . }}
{{ end }}
<div class="taxonomy-list"> <div class="taxonomy-list">
{{ with .Data.Terms.Alphabetical }} {{ with .Data.Terms.Alphabetical }}