Skip to content

Commit

Permalink
style: specify class name for taxonomy titles and count for styling
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 16, 2023
1 parent 8ae81d4 commit 699420b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/hb/modules/blog/taxonomies/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<a
class="taxonomy-term taxonomy-term-{{ $name }} btn btn-sm btn-outline-secondary my-1 me-1"
href="{{ .Page.RelPermalink }}">
{{- .Page.Title -}}
<span class="taxonomy-term-title">{{- .Page.Title -}}</span>
{{- if $count }}
{{- printf " (%d)" .Count -}}
<small class="taxonomy-term-count border rounded px-1">{{- .Count -}}</small>
{{- end }}
</a>
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/hb/modules/blog/taxonomies/toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
<a
class="taxonomy-term taxonomy-term-{{ $name }} btn btn-sm btn-outline-secondary p-1 me-1 mb-1"
href="{{ .Page.RelPermalink }}">
{{- .Page.Title -}}
<span class="taxonomy-term-title">{{- .Page.Title -}}</span>
{{- if $count }}
{{- printf " (%d)" .Count -}}
<small class="taxonomy-term-count border rounded px-1">{{- .Count -}}</small>
{{- end }}
</a>
{{- end }}
Expand Down

0 comments on commit 699420b

Please sign in to comment.