feat: update style and exampleSite files
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
<h2 class="post-title animated pulse faster">
|
||||
{{ $taxonomy := .Data.Singular }}
|
||||
{{ if eq $taxonomy "category" }}
|
||||
<i class="far fa-folder-open"></i>{{ .Title }}
|
||||
<i class="far fa-folder-open fa-fw"></i>{{ .Title }}
|
||||
{{ else if eq $taxonomy "tag" }}
|
||||
<i class="fas fa-tag"></i>{{ .Title }}
|
||||
<i class="fas fa-tag fa-fw"></i>{{ .Title }}
|
||||
{{ else }}
|
||||
{{ printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title }}
|
||||
{{ end }}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="card-item">
|
||||
<div class="categories">
|
||||
<a href="{{ .Permalink }}">
|
||||
<h3><i class="far fa-folder"></i>{{ $term | humanize}}</h3>
|
||||
<h3><i class="far fa-folder fa-fw"></i>{{ $term | humanize}}</h3>
|
||||
</a>
|
||||
{{ range first 5 $pages }}
|
||||
<article class="archive-item">
|
||||
|
||||
Reference in New Issue
Block a user