Skip to content
Discussion options

You must be logged in to vote

No configuration is present, however you can customize the below portion of code to achieve that

  • <li>
    <a href="{{ .URL | absLangURL }}" title="{{ .Title | default .Name }} {{- cond $is_search (" (Alt + /)" | safeHTMLAttr) ("" | safeHTMLAttr ) }}"
    {{- cond $is_search (" accesskey=/" | safeHTMLAttr) ("" | safeHTMLAttr ) }}>
    <span {{- if eq $menu_item_url $page_url }} class="active" {{- end }}>
    {{- .Pre }}
    {{- .Name -}}
    {{ .Post -}}
    </span>
    </a>
    </li>

  • Override theme template

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Triple-Z
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #817 on March 11, 2022 14:14.