option to enable / disable credits option to change the credits valus by default credits is enabled
This commit is contained in:
parent
dc1cf00d49
commit
6c5de3f38b
1 changed files with 16 additions and 2 deletions
|
@ -105,8 +105,22 @@
|
||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<section class="credits">
|
<section class="credits">
|
||||||
<span class="credits-theme">Theme <a href="https://github.com/arulrajnet/attila" rel="nofollow">Attila</a></span>
|
{% if SHOW_CREDITS|default(True) %}
|
||||||
<span class="credits-software">Published with <a href="https://github.com/getpelican/pelican" rel="nofollow">Pelican</a></span>
|
{% if SHOW_CREDITS and SHOW_CREDITS.left %}
|
||||||
|
{% set left=SHOW_CREDITS.left %}
|
||||||
|
{% else %}
|
||||||
|
{% set left='Theme <a href="https://github.com/arulrajnet/attila" rel="nofollow">Attila</a>' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if SHOW_CREDITS and SHOW_CREDITS.right %}
|
||||||
|
{% set right=SHOW_CREDITS.right %}
|
||||||
|
{% else %}
|
||||||
|
{% set right='Published with <a href="https://github.com/getpelican/pelican" rel="nofollow">Pelican</a>' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<span class="credits-theme">{{left}}</span>
|
||||||
|
<span class="credits-software">{{right}}</span>
|
||||||
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue