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

Commit

Permalink
fix: fix style bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Aug 19, 2019
1 parent 6d0116b commit 41a885e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/css/_page/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
}

.post-footer {
margin-top: 0;
margin-top: 0.5em;
display: flex;
justify-content: space-between;
align-items: center;
Expand Down
4 changes: 1 addition & 3 deletions layouts/_default/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ <h1 class="post-title post-list-title" itemprop="name headline">
{{ 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 }}
Expand Down
4 changes: 1 addition & 3 deletions layouts/taxonomy/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ <h3> <i class="far fa-folder"></i> {{ $term | humanize}} </h3>
{{ 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>

Expand Down

0 comments on commit 41a885e

Please sign in to comment.