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 {
margin-top: 0;
margin-top: 0.5em;
display: flex;
justify-content: space-between;
align-items: center;

View file

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

View file

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