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