The breadcrumbs navigation is now in the default template. The removes some duplication. The only page it shouldn't be shown on is the home page.
This commit is contained in:
James Dennes 2013-07-13 16:38:01 +02:00
Родитель 380731aaec
Коммит 8ae085df65
4 изменённых файлов: 8 добавлений и 18 удалений

Просмотреть файл

@ -20,6 +20,14 @@
<body class="{{ page.layout }} {{ page.class }}">
<div class='container'>
{% unless page.class == "home" %}
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
{% endunless %}
{{ content }}
<footer class="site-footer cf">

Просмотреть файл

@ -4,12 +4,6 @@ layout: default
permalink: /about/
---
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
# What&#8217;s this about?
We want to help developers choose a license for their source code.

Просмотреть файл

@ -4,12 +4,6 @@ permalink: licenses/
class: license-types
---
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
<h1>Featured</h1>
{% for page in site.pages %}

Просмотреть файл

@ -3,12 +3,6 @@ layout: default
permalink: no-license/
---
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
<h1>No License</h1>
<p>
You're under no obligation to choose a license and it's your right not to include one with your code or project. But please note that opting out of open source licenses doesn't mean you're opting out of copyright law.