Skip to content

Commit

Permalink
fix: wrong type (boolean) of social icon color for authors
Browse files Browse the repository at this point in the history
fix: add unique class name for term socials and metrics
  • Loading branch information
razonyang committed Apr 27, 2024
1 parent 6297467 commit fc7293e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/term/metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"title" (i18n "metrics_page_types")
"count" (len (.RegularPages.GroupBy "Type")))
}}
<ul class="nav justify-content-center mt-auto mb-0">
<ul class="nav justify-content-center mt-auto mb-0 hb-term-metrics">
{{ range $metrics }}
<li
class="nav-item d-flex flex-column justify-content-center align-items-center m-3">
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/hb/modules/blog/term/socials.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $color := default true ._color }}
<ul class="nav justify-content-center">
{{- $color := default "" ._color }}
<ul class="nav justify-content-center hb-term-socials">
{{ range $name, $id := . }}
{{/* ignore options. */}}
{{- if hasPrefix $name "_" }}
Expand Down

0 comments on commit fc7293e

Please sign in to comment.