Skip to content

#links don't work out of the box #50

@fkxr-dev

Description

@fkxr-dev

Very minor thing, easily fixed with a small modification to the template file but for my use-case I like to have the ability to link straight to a certain section. I would have expected that to be something I could do out of the box by just linking to <mysite>#slug but there's no divs marked up with the slug ID at all.

I've just added id = "{{ .Slug }}" to the section title div in the template and that suffices; but maybe it's worth adding that by default.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions