fix: fix style bug

This commit is contained in:
Dillon
2019-08-19 23:00:26 +08:00
parent 6d0116b883
commit 41a885eba0
3 changed files with 3 additions and 7 deletions

View File

@@ -84,7 +84,7 @@
} }
.post-footer { .post-footer {
margin-top: 0; margin-top: 0.5em;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;

View File

@@ -52,9 +52,7 @@
{{ with .Params.tags }} {{ with .Params.tags }}
<div class="post-tags"> <div class="post-tags">
{{ range . }} {{ range . }}
<span class="tag"> &nbsp;&nbsp;<span class="tag"><a href="{{ "tags/" | absURL }}{{ . | urlize }}/"><i class="fas fa-tag"></i>&nbsp;{{ . }}</a></span>
<a href="{{ "tags/" | absURL }}{{ . | urlize }}/">&nbsp;<i class="fas fa-tag"></i>&nbsp;{{ . }}</a>
</span>
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}

View File

@@ -50,9 +50,7 @@
{{ else if eq $taxonomy "tag" }} {{ else if eq $taxonomy "tag" }}
<div class="tag-cloud-tags"> <div class="tag-cloud-tags">
{{ range $.Site.Taxonomies.tags.ByCount }} {{ range $.Site.Taxonomies.tags.ByCount }}
{{ if .Name }} <a href="{{ .Page.Permalink }}"> {{ .Page.Title }} <small>({{ .Count }})</small></a>
<a href="/tags/{{ .Name | urlize}}/"> {{ .Name }} <small>({{ .Count }})</small></a>
{{ end }}
{{end}} {{end}}
</div> </div>