Add breadcrumbs for navigation to web theme

Bug #1429079 reported by Daniel Holbach
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Help App
Triaged
High
Unassigned

Bug Description

Add breadcrumbs for navigation to web theme

Tags: nav web
David Planella (dpm)
Changed in help-app:
status: New → Triaged
importance: Undecided → High
Revision history for this message
David Planella (dpm) wrote :

I'm not quite sure what the best way to do this is. For navigation, pages need to have the concept of their parent and their siblings, and probably the order of the siblings.

An idea could be to define metadata on each .md file defining this, and then let a Pelican extension export that as variables that can be used in templates. E.g.

faq.md:

Title: Settings
Parent: "Welcome to the Ubuntu Help app"
Siblings: "Apps", "Settings", "First day tasks"

page.html:

<ul>
{% for sibling in siblings %}
  <li>sibling</li>
{% %}
</ul>

Revision history for this message
Daniel Holbach (dholbach) wrote :

A simple first step could be to add "Home", "FAQ", "Get in touch", etc. in the main navbar.

Changed in help-app:
milestone: none → 0.2
David Planella (dpm)
Changed in help-app:
milestone: 0.2 → 0.3
tags: added: web
Changed in help-app:
milestone: 0.3 → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.