Skip to content

post_link cannot handle anchors #5333

@iliayatsenko

Description

@iliayatsenko

Check List

  • I have already read Docs page.
  • I have already searched existing issues.

Feature Request

Sometimes, when linking one post to another with post_link, I need to add specific anchor to the link, in order to make link to point to specific place in the post.
It would be great if post_link could support something like that:

{% post_link my_linked_post#anchor-to-specific-place 'Another post' %}

Now this syntax is not supported and throws an error during generation.

Thanks to all of contributors!

Others

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions