Skip to content

Commit

Permalink
🌐 Add {{ LICENSE_NOTICE }} instead of raw license
Browse files Browse the repository at this point in the history
LICENSE_NOTICE is a variable that can be defined in pelicanconf.py to use your own license notice. This makes easier to change the license.
  • Loading branch information
ivanhercaz committed Dec 7, 2019
1 parent 71dcc29 commit 5e01c0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@
</div>
<div class="column">
{% if LICENSE %}
<p><a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"><img alt="Licencia Creative Commons" style="border-width: 0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />Esta obra está bajo una <a rel="license" class="license-text" href="https://creativecommons.org/licenses/by-sa/4.0">Licencia Creative Commons Atribución-CompartirIgual 4.0 Internacional</a>.
{% endif %}
{{ LICENSE_NOTICE}}
{% else %}
<p>All rights reserved © {{ AUTHOR }}</p>
{% endif %}
</div>
</div>
</footer>
Expand Down

0 comments on commit 5e01c0a

Please sign in to comment.