mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Display description and nickname in sidebar (#355)
Added if for nickname since some of the licenses may not have a nickname.
This commit is contained in:
parent
bfb9e249c5
commit
bfd43e2d04
@ -1,6 +1,23 @@
|
||||
<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="license-description">
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
{{ page.description }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% if page.nickname %}
|
||||
<div class="license-nickname">
|
||||
<h3>Nickname</h3>
|
||||
<p>
|
||||
{{ page.nickname }}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="how-to-apply">
|
||||
<h5>How to apply this license</h5>
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user