Add breadcrumbs for navigation to web theme

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

Bug Description

Add breadcrumbs for navigation to web theme

David Planella (dpm) on 2015-03-12
Changed in help-app:
status: New → Triaged
importance: Undecided → High
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>

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) on 2015-03-24
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers