fix: fix style bug
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -52,9 +52,7 @@
|
|||||||
{{ with .Params.tags }}
|
{{ with .Params.tags }}
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<span class="tag">
|
<span class="tag"><a href="{{ "tags/" | absURL }}{{ . | urlize }}/"><i class="fas fa-tag"></i> {{ . }}</a></span>
|
||||||
<a href="{{ "tags/" | absURL }}{{ . | urlize }}/"> <i class="fas fa-tag"></i> {{ . }}</a>
|
|
||||||
</span>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user