mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge branch 'gh-pages' of https://github.com/github/choosealicense.com into gh-pages
This commit is contained in:
commit
fdbaf19d51
@ -14,8 +14,8 @@
|
|||||||
<!-- always show this div, even w/o variations, for proper spacing -->
|
<!-- always show this div, even w/o variations, for proper spacing -->
|
||||||
{% if license.tab-slug %}
|
{% if license.tab-slug %}
|
||||||
<ul class="nav-pills js-nav-pills">
|
<ul class="nav-pills js-nav-pills">
|
||||||
{% for variation in site.licenses %}
|
{% assign variations = site.licenses | where:"hidden",false | where:"category",license.category %}
|
||||||
{% if variation.category and variation.category == license.category %}
|
{% for variation in variations %}
|
||||||
<li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">
|
<li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">
|
||||||
{% if variation.nickname != nil %}
|
{% if variation.nickname != nil %}
|
||||||
{{ variation.nickname }}
|
{{ variation.nickname }}
|
||||||
@ -23,13 +23,12 @@
|
|||||||
{{ variation.title }}
|
{{ variation.title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a></li>
|
</a></li>
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% for variation in site.licenses %}
|
{% assign variations = site.licenses | where:"hidden",false | where:"category",license.category %}
|
||||||
{% if variation.category and variation.category == license.category %}
|
{% for variation in variations %}
|
||||||
<div {% if variation.tab-slug %}id="{{ variation.tab-slug }}" {% endif %}class="variation-tab {% if variation.tab-slug %}variation-{{ variation.tab-slug }}{% endif %} js-variation-tab{% if license.tab-slug == variation.tab-slug %} active{% endif %}">
|
<div {% if variation.tab-slug %}id="{{ variation.tab-slug }}" {% endif %}class="variation-tab {% if variation.tab-slug %}variation-{{ variation.tab-slug }}{% endif %} js-variation-tab{% if license.tab-slug == variation.tab-slug %} active{% endif %}">
|
||||||
<table class="license-rules">
|
<table class="license-rules">
|
||||||
<tr>
|
<tr>
|
||||||
@ -59,7 +58,6 @@
|
|||||||
</table>
|
</table>
|
||||||
<p class="small"><a href="{{ variation.permalink }}">View full {{ variation.title }} license »</a></p>
|
<p class="small"><a href="{{ variation.permalink }}">View full {{ variation.title }} license »</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user