1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-02 01:08:03 +02:00

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:
James Dennes 2013-07-13 16:38:01 +02:00
parent 380731aaec
commit 8ae085df65
4 changed files with 8 additions and 18 deletions

View File

@ -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">

View File

@ -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.

View File

@ -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 %}

View File

@ -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.