diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-02 02:36:22 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-02 02:36:22 +0200 |
| commit | 78715c75ea29590e916872fe0a2bd2ce77f28e85 (patch) | |
| tree | ce0d65671fabe94d849af40d1b0dfe0eb52aaa5a /layouts/partials/sidebar.html | |
| parent | 0058daddb6e89856ac30d41675c36980f5290a46 (diff) | |
| download | gohugo-theme-ed-78715c75ea29590e916872fe0a2bd2ce77f28e85.tar.gz | |
Rework icons
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> |
