Sections - limiting Previous post and Next post to within one section

9 views
Skip to first unread message

Jim Schmitz

unread,
Aug 19, 2017, 10:11:40 AM8/19/17
to nikola-...@googlegroups.com
I am using Nikola sections, configured via the "directory structure" as described in the documentation.

The feature works great, but I have a question about the "Next post" and "Previous post" links at the bottom of the pages. At the moment one of the "Previous post" links links to a page in the different section. I'd prefer for these links to be limited their own section.

I have re-read the Section documentation and I don't see anything that would change this. Have I somehow setup Nikola sections incorrectly? If not, is this a worthy enhancement?

Thanks,

Jim

Chris Warrick

unread,
Aug 19, 2017, 10:26:28 AM8/19/17
to Nikola—Discuss
You can install a plugin for that:
http://plugins.getnikola.com/v7/section_prevnext/

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Jim Schmitz

unread,
Aug 19, 2017, 10:38:05 AM8/19/17
to nikola-...@googlegroups.com
Excellent! This is perfect.

And I also see the answer to what was going to be my next question. Thanks for that as well.



--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages