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 child topics list and prev / next links to topic footer based on subject nav #42

Open
briandominick opened this issue May 31, 2021 · 0 comments
Labels
good first issue Good for newcomers JavaScript Involves some JS struggles

Comments

@briandominick
Copy link
Contributor

briandominick commented May 31, 2021

Use a little jQuery to glean the parent/child/sibling topics and provide links in the topic footer (bottom of the <main> content container in a topic page).

  • ↑ Previous: Parent Topic Title (for a first-child topic)
  • ← Previous: Sibling Topic Title
  • Next: Sibling Topic Title →
  • Next: First Child Topic Title ↓ (for parent topics)

Also generate a list of child topics when a topic has kids in the menu and use that in place of related links (or in addition to?).

Make these configurable, of course.

@briandominick briandominick added good first issue Good for newcomers JavaScript Involves some JS struggles labels May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers JavaScript Involves some JS struggles
Projects
None yet
Development

No branches or pull requests

1 participant