summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-13 09:27:08 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-13 09:27:08 +0200
commit7d16ffbc14e09969cb8474e34f4c616de9ceec14 (patch)
tree6446aa0f560fb3198157d1114907876725fdea55 /layouts/partials
parent55c8277572b69bef53e3c8c5ed5245fbb4b54b20 (diff)
downloadgohugo-theme-ed-7d16ffbc14e09969cb8474e34f4c616de9ceec14.tar.gz
Fix indents
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 2cba48e..41652db 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -14,14 +14,12 @@
{{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
{{ $active = or $active (eq .URL $current.RelPermalink) }}
{{ $active = or $active (eq .Name $current.Title) }}
- <!-- editorconfig-checker-disable -->
<a class="sidebar-nav-item{{ if $active }} active{{ end }}"
- href="{{ .URL }}"
- id="menu-main-{{ .Identifier }}"
- {{- if eq .Params.external true }} target="_blank" rel="noopener noreferrer"{{ end }}>
- {{- print .Name | safeHTML -}}
+ href="{{ .URL }}"
+ id="menu-main-{{ .Identifier }}"
+ {{- if eq .Params.external true }} target="_blank" rel="noopener noreferrer"{{ end }}>
+ {{- print .Name | safeHTML -}}
</a>
- <!-- editorconfig-checker-enable -->
{{ end }}
{{/* TODO: Add hypothesis support */}}