1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

move breadcrumbs to include

This commit is contained in:
Ben Balter 2013-07-13 15:46:13 -04:00
parent 12f4407bdc
commit 25569a5ec1
2 changed files with 12 additions and 11 deletions

View File

@ -0,0 +1,11 @@
{% unless page.hide_breadcrumbs == true %}
<ol class='breadcrumbs'>
<li>
{% if page.layout == "license" %}
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
{% else %}
<a href="/">Home</a>
{% endif %}
</li>
</ol>
{% endunless %}

View File

@ -27,17 +27,7 @@
<body class="{{ page.layout }} {{ page.class }}">
<div class='container'>
{% unless page.hide_breadcrumbs == true %}
<ol class='breadcrumbs'>
<li>
{% if page.layout == "license" %}
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
{% else %}
<a href="/">Home</a>
{% endif %}
</li>
</ol>
{% endunless %}
{% include breadcrumbs.html %}
{% if page.title %}
<h1>{{ page.title }}</h1>