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,7 +1,7 @@
<aside class="widget related-contents--wrapper">
<aside class="related-contents--wrapper">
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h1 class="widget-title">{{ T "relatedContents" }}</h1>
<h2 class="section-title">{{ T "relatedContents" }}</h2>
<div class="related-contents">
<div class="flex article-list--tile">
{{ range . }}