1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01: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 }}"> <body class="{{ page.layout }} {{ page.class }}">
<div class='container'> <div class='container'>
{% unless page.class == "home" %}
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
{% endunless %}
{{ content }} {{ content }}
<footer class="site-footer cf"> <footer class="site-footer cf">

View File

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

View File

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

View File

@ -3,12 +3,6 @@ layout: default
permalink: no-license/ permalink: no-license/
--- ---
<ol class='breadcrumbs'>
<li>
<a href="/">Home</a>
</li>
</ol>
<h1>No License</h1> <h1>No License</h1>
<p> <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. 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.