mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-26 00:36:49 +01:00
fix: fix css bug
This commit is contained in:
parent
f1918f59bd
commit
9c796e0818
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
<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>
|
||||||
<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>
|
<i class="fas fa-pencil-alt"></i>
|
||||||
{{ T "wordCount" .WordCount }}
|
{{ T "wordCount" .WordCount }}
|
||||||
<i class="far fa-clock"></i>
|
<i class="far fa-clock"></i>
|
||||||
{{ 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>
|
<i class="far fa-eye"></i>
|
||||||
{{ T "pageviews" | safeHTML }}
|
{{ T "pageviews" | safeHTML }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue