refactor: add .section-title (#36)

For the small title before the card

Remove .widget-title, .archive-date, .taxonomy-type from SCSS, as they all share the same style.
This commit is contained in:
Jimmy Cai
2020-10-12 20:49:56 +02:00
committed by GitHub
parent 26bdeb3afb
commit 49e568faac
9 changed files with 27 additions and 42 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{{ define "main" }}
<h3 class="taxonomy-type">{{ .Type | singularize | humanize }}</h3>
<h3 class="taxonomy-type section-title">{{ .Type | singularize | humanize }}</h3>
<div class="taxonomy-card">
<div class="taxonomy-details">
<h3 class="taxonomy-count">{{ len .Pages }} post{{ if gt (len .Pages) 1 }}s{{ end }}</h3>