Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix: fix css bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Aug 16, 2019
1 parent f1918f5 commit 9c796e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions layouts/posts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ <h1 class="post-title">{{ .Title }}</h1>
{{ range . }}
{{- $name := . -}}
{{- 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>
{{ end -}}
{{ end }}
</span>
{{- end }}
</div>
<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>
<i class="fas fa-pencil-alt"></i>
&nbsp;<i class="fas fa-pencil-alt"></i>&nbsp;
{{ T "wordCount" .WordCount }}
<i class="far fa-clock"></i>
&nbsp;<i class="far fa-clock"></i>&nbsp;
{{ T "readingTime" .ReadingTime }}
{{ if and .Site.Params.valine.enable .Site.Params.valine.visitor }}
<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 }}
</span>
{{ end }}
Expand Down

0 comments on commit 9c796e0

Please sign in to comment.