Skip to content

Instantly share code, notes, and snippets.

View psynaptic's full-sized avatar

Richard Burford psynaptic

View GitHub Profile
@psynaptic
psynaptic / breadcrump.twig
Created October 7, 2012 17:53 — forked from mortendk/breadcrump.twig
twig breadcrumbs
<nav class="breadcrumb" role="navigation">
<h2 class="element-invisible">{{ 'You are here'|t }}</h2>
<ol>
{% for item in breadcrumb %}
{% if loop.first %}
<li>{{ item }} » </li>
{% elseif loop.last %}
<li>{{ item }}</li>
{% else %}
<li>{{ item }} » </li>