Skip to content

redirect_to adds trailing slash - prohibiting the usage of links to id's #2676

Open
@trembel

Description

@trembel

Bug Report

When using redirect_to on a section, e.g.

+++
redirect_to = "/about/#me"
+++

a trailing slash is appended to the redirect link, which leads to a non-working redirect (e.g. not to the desired element)

Environment

Zola version: 0.19-2

Expected Behavior

Redirect to the desired element in the html page

Current Behavior

Redirect to the top of the html page

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions