Cleaned up breadcrumbs.
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:
Родитель
380731aaec
Коммит
8ae085df65
|
@ -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">
|
||||
|
|
6
about.md
6
about.md
|
@ -4,12 +4,6 @@ layout: default
|
|||
permalink: /about/
|
||||
---
|
||||
|
||||
<ol class='breadcrumbs'>
|
||||
<li>
|
||||
<a href="/">Home</a>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
# What’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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче