feat: update style and exampleSite files

This commit is contained in:
Dillon
2019-08-27 01:15:00 +08:00
parent 45c9281131
commit 42d50ae53c
58 changed files with 477 additions and 257 deletions

View File

@@ -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 }}

View File

@@ -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">