mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Allow specifying custom links in the footer
This commit is contained in:
parent
a392498f69
commit
3381c5031b
2 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<div class="row">
|
||||
<ul class="col-sm-6 list-inline">
|
||||
{% if not FOOTER_LINKS %}
|
||||
{% if not HIDE_AUTHORS %}
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/{{ AUTHORS_URL or AUTHORS_SAVE_AS or 'authors.html' }}">Authors</a></li>
|
||||
{% endif %}
|
||||
|
|
@ -8,6 +9,11 @@
|
|||
{% if tags|length %}
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/{{ TAGS_URL or TAGS_SAVE_AS or 'tags.html' }}">Tags</a></li>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% for title, link in FOOTER_LINKS %}
|
||||
<li class="list-inline-item"><a href="{{ url(link) }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<p class="col-sm-6 text-sm-right text-muted">
|
||||
Generated by <a href="https://github.com/getpelican/pelican" target="_blank">Pelican</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue