Skip to content

Commit

Permalink
chore: format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 22, 2023
1 parent 7127b42 commit cdd9c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/shortcodes/toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- if eq .Inner "" }}{{ end }}
{{- $items := .Page.Store.Get (printf "toggle-%s-items" $name) }}
<ul class="nav nav-tabs toggle" id="toggle-{{ $name }}" role="tablist">
{{- $count := 0 }}
{{- $count := 0 }}
{{- range $itemName, $item := $items }}
<li class="nav-item" role="presentation">
<button
Expand All @@ -21,7 +21,7 @@
{{- end }}
</ul>
<div class="tab-content mb-3" id="toggle-{{ $name }}-content">
{{- $count := 0 }}
{{- $count := 0 }}
{{- range $itemName, $item := $items }}
<div
class="tab-pane fade{{ if eq $count 0 }} show active{{ end }}"
Expand Down

0 comments on commit cdd9c5d

Please sign in to comment.