diff options
Diffstat (limited to 'layouts/partials/sidebar.html')
| -rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 92f0897..f46c663 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -15,7 +15,7 @@ {{- range site.Menus.nav }} {{- $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }} {{- $active = or $active (eq .Name $current.Title) }} - <a class="sidebar-nav-item {{ if $active }}active{{ end }}" href="{{ .URL }}"> + <a class="sidebar-nav-item{{ if $active }} active{{ end }}" href="{{ .URL }}"> {{- $text := print .Name | safeHTML -}} {{- $text -}} </a> |
