Compare commits

...

2 Commits

Author SHA1 Message Date
BBaoVanC 7cff045cb3
Website header title should not be h1 2023-01-07 20:50:01 -06:00
BBaoVanC 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;
}
.header h1 {
font-size: 1.5em;
font-weight: bold;
}
.header a,
.section-header a {
color: inherit;
font-size: 1.5em;
font-weight: bold;
}
.section-header-link svg {

View File

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

View File

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