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:
parent
380731aaec
commit
8ae085df65
@ -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">
|
||||||
|
6
about.md
6
about.md
@ -4,12 +4,6 @@ layout: default
|
|||||||
permalink: /about/
|
permalink: /about/
|
||||||
---
|
---
|
||||||
|
|
||||||
<ol class='breadcrumbs'>
|
|
||||||
<li>
|
|
||||||
<a href="/">Home</a>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
# What’s this about?
|
# What’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.
|
||||||
|
@ -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 %}
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user