fix: fix css bug

This commit is contained in:
Dillon 2019-08-17 04:48:39 +08:00
parent f1918f59bd
commit 9c796e0818

View file

@ -22,7 +22,7 @@
{{ range . }} {{ range . }}
{{- $name := . -}} {{- $name := . -}}
{{- with $.Site.GetPage "taxonomy" (printf "categories/%s" $name) | default ($.Site.GetPage "taxonomy" (printf "categories/%s" ($name | urlize))) -}} {{- with $.Site.GetPage "taxonomy" (printf "categories/%s" $name) | default ($.Site.GetPage "taxonomy" (printf "categories/%s" ($name | urlize))) -}}
<i class="far fa-folder"></i> <i class="far fa-folder"></i>&nbsp;
<a href="{{ .Permalink }}">{{ $name }}</a> <a href="{{ .Permalink }}">{{ $name }}</a>
{{ end -}} {{ end -}}
{{ end }} {{ end }}
@ -30,15 +30,15 @@
{{- end }} {{- end }}
</div> </div>
<div class="post-meta-other"> <div class="post-meta-other">
<i class="far fa-calendar-alt"></i> <i class="far fa-calendar-alt"></i>&nbsp;
<span class="post-time"><time datetime={{ $publish_date }}>{{ $publish_date }}</time></span> <span class="post-time"><time datetime={{ $publish_date }}>{{ $publish_date }}</time></span>
<i class="fas fa-pencil-alt"></i> &nbsp;<i class="fas fa-pencil-alt"></i>&nbsp;
{{ T "wordCount" .WordCount }} {{ T "wordCount" .WordCount }}
<i class="far fa-clock"></i> &nbsp;<i class="far fa-clock"></i>&nbsp;
{{ T "readingTime" .ReadingTime }} {{ T "readingTime" .ReadingTime }}
{{ if and .Site.Params.valine.enable .Site.Params.valine.visitor }} {{ if and .Site.Params.valine.enable .Site.Params.valine.visitor }}
<span id="{{ .RelPermalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}"> <span id="{{ .RelPermalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}">
<i class="far fa-eye"></i> &nbsp;<i class="far fa-eye"></i>
{{ T "pageviews" | safeHTML }} {{ T "pageviews" | safeHTML }}
</span> </span>
{{ end }} {{ end }}