Skip to content

Commit

Permalink
typo: fix typos in sidebar.html (#203)
Browse files Browse the repository at this point in the history
@OliverWu515 finds this issue, I help pr this. Hope it helps. The theme helps a lot for our org to build our documents. We found this issue when we use it.
  • Loading branch information
xiln7 authored Nov 12, 2023
1 parent c2d7ba8 commit 456c969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
{{- with .context }}
{{- if or .RegularPages .Sections }}
<span class="hextra-sidebar-collapsible-button">
{{- template "sidebear-collapsible-button" -}}
{{- template "sidebar-collapsible-button" -}}
</span>
{{- end }}
{{ end -}}
Expand All @@ -164,6 +164,6 @@
<div class="mt-4 border-t py-4 dark:border-neutral-800 contrast-more:border-neutral-400 dark:contrast-more:border-neutral-400" />
{{- end -}}

{{- define "sidebear-collapsible-button" -}}
{{- define "sidebar-collapsible-button" -}}
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" class="h-[18px] min-w-[18px] rounded-sm p-0.5 hover:bg-gray-800/5 dark:hover:bg-gray-100/5"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" class="origin-center transition-transform rtl:-rotate-180"></path></svg>
{{- end -}}

0 comments on commit 456c969

Please sign in to comment.