1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-06 03:38:49 +01:00
choosealicense.com/_includes/sidebar.html

39 lines
1021 B
HTML
Raw Normal View History

2013-10-30 19:23:28 +01:00
<div class="sidebar">
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
<div class="how-to-apply">
<h3>How to apply this license</h3>
<p>
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
</p>
{% if page.note %}
<p class="note">
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
</p>
{% endif %}
</div>
{% if page.source %}
<div class="source">
<a href="{{ page.source }}">
<span class="license-sprite"></span>
Source
</a>
</div>
{% endif %}
{% if page.using %}
<div class="projects-with-license">
<h3>Who's using this license?</h3>
<ul>
{% for using in page.using %}
{% for hash in using %}
<li><a href="{{ hash[1] }}" target="_blank">{{ hash[0] }}</a></li>
{% endfor %}
{% endfor %}
</ul>
</div>
{% endif %}
</div> <!-- /sidebar -->