Skip to content

Commit

Permalink
style: specify extra class name for taxonomy terms (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 16, 2023
1 parent 81f9111 commit dc947ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/taxonomies/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{- break }}
{{- end }}
<a
class="btn btn-sm btn-outline-secondary my-1 me-1"
class="taxonomy-term taxonomy-term-{{ $name }} btn btn-sm btn-outline-secondary my-1 me-1"
href="{{ $term.Page.RelPermalink }}">
{{- $term.Page.Title -}}
{{- if $count }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/taxonomies/toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{- break }}
{{- end }}
<a
class="btn btn-sm btn-outline-secondary p-1 me-1 mb-1"
class="taxonomy-term taxonomy-term-{{ $name }} btn btn-sm btn-outline-secondary p-1 me-1 mb-1"
href="{{ $term.Page.RelPermalink }}">
{{- $term.Page.Title -}}
{{- if $count }}
Expand Down

0 comments on commit dc947ed

Please sign in to comment.