Add an option to host CC icon rather than querying an external service
See #112 for more context on this.
This commit is contained in:
parent
79c91d1335
commit
81b48555e7
7 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@
|
|||
<img alt="Creative Commons License"
|
||||
title="Creative Commons License"
|
||||
style="border-width:0"
|
||||
src="https://i.creativecommons.org/l/{{ CC_LICENSE['slug'] }}/{{ CC_LICENSE['version'] }}/80x15.png"
|
||||
{% if CC_LICENSE['local_icons'] %}
|
||||
src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/cc/{{ CC_LICENSE['slug'] }}.png"
|
||||
{% else %}
|
||||
src="https://i.creativecommons.org/l/{{ CC_LICENSE['slug'] }}/{{ CC_LICENSE['version'] }}/80x15.png"
|
||||
{% endif %}
|
||||
width="80"
|
||||
height="15"/>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue