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

Add path handler support for fragments #3032

merged 1 commit into from Apr 15, 2018

Add path handler support for fragments #3032

merged 1 commit into from Apr 15, 2018


Copy link

@gwax gwax commented Apr 15, 2018

Pull Request Checklist

  • I’ve read the guidelines for contributing.
  • I updated AUTHORS.txt and CHANGES.txt (if the change is non-trivial) and documentation (if applicable).
  • I tested my changes.


Add support for fragments to path handlers: ex. link://slug/my-post#some_heading

@gwax gwax requested a review from Kwpolska Apr 15, 2018
Copy link

@Kwpolska Kwpolska left a comment


You can also add query strings (``?key=value``) for extra arguments, or pass keyword arguments to ``_link`` in templates (support and behavior depends on path handlers themselves)
Nikola supports special links with the syntax ``link://kind/name``. In
templates you can also use ``_link(kind, name)``. You can add
fragments (``#anchor``) and query strings (``?key=value``) for extra
Copy link

@Kwpolska Kwpolska Apr 15, 2018

This file is auto-generated, I’ll update the generation script myself (and do a slight rephrasing, and add a warning about editing this file).

Copy link

@Kwpolska Kwpolska commented Apr 15, 2018

I’l also add a CHANGES.txt mention.

@Kwpolska Kwpolska merged commit c962f86 into master Apr 15, 2018
4 of 5 checks passed
@Kwpolska Kwpolska deleted the path_handler_fragments branch Apr 15, 2018
Kwpolska added a commit that referenced this issue Apr 15, 2018
Signed-off-by: Chris Warrick <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants