Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable proper titles for Nodes #1051

Closed
bep opened this issue Apr 5, 2015 · 4 comments
Closed

Enable proper titles for Nodes #1051

bep opened this issue Apr 5, 2015 · 4 comments

Comments

@bep
Copy link
Member

bep commented Apr 5, 2015

@SystemZ
Copy link

SystemZ commented Aug 18, 2015

Is there any simple method to get normal, non lowercase string from $key variable as used in documentation? This small bug is driving me crazy for few hours now 😞 Variables in hugo are little confusing and I can't get $key by other method.

http://gohugo.io/taxonomies/displaying/

<section id="menu">
    <ul>
        {{ range $key, $taxonomy := .Site.Taxonomies.categories }}
        <li> {{ $key }} </li>
        <ul>
            {{ range $taxonomy.Pages }}
            <li hugo-nav="{{ .RelPermalink}}"><a href="{{ .Permalink}}"> {{ .LinkTitle }} </a> </li>
            {{ end }}
        </ul>
        {{ end }}
    </ul>
</section>

@bep
Copy link
Member Author

bep commented Aug 18, 2015

@SystemZ see #1180 for some related commits -- which I believe is still in the DEV version of Hugo.

@bep
Copy link
Member Author

bep commented Jul 21, 2016

Will be fixed by #2297.

@bep bep closed this as completed Jul 21, 2016
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants