mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
introduce options for category, tag and archives links on menu
This commit is contained in:
parent
bd337dffaa
commit
8e1e53af31
2 changed files with 15 additions and 0 deletions
|
|
@ -30,6 +30,9 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/)
|
||||||
| MENU_ITEMS | DICT | Menu items |
|
| MENU_ITEMS | DICT | Menu items |
|
||||||
| META_DESCRIPTION | TEXT | Meta description |
|
| META_DESCRIPTION | TEXT | Meta description |
|
||||||
| PAGES_ON_MENU | BOOL | Pages on the menu |
|
| PAGES_ON_MENU | BOOL | Pages on the menu |
|
||||||
|
| CATEGORIES_ON_MENU | BOOL | Category link in menu |
|
||||||
|
| TAGS_ON_MENU | BOOL | Tag link in menu |
|
||||||
|
| ARCHIVES_ON_MENU | BOOL | Archives link in menu |
|
||||||
| PROFILE_IMAGE | URL | Profile image |
|
| PROFILE_IMAGE | URL | Profile image |
|
||||||
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
||||||
| SITE_SUBTEXT | TEXT | Header subtitle |
|
| SITE_SUBTEXT | TEXT | Header subtitle |
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,18 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if CATEGORIES_ON_MENU %}
|
||||||
|
<li><a class="nodec" href="{{ SITEURL }}/categories.html">Categories</a></li>
|
||||||
|
<li class="muted">|</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if TAGS_ON_MENU %}
|
||||||
|
<li><a class="nodec" href="{{ SITEURL }}/tags.html">Tags</a></li>
|
||||||
|
<li class="muted">|</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if ARCHIVES_ON_MENU %}
|
||||||
|
<li><a class="nodec" href="{{ SITEURL }}/archives.html">Archives</a></li>
|
||||||
|
<li class="muted">|</li>
|
||||||
|
{% endif %}
|
||||||
{% if EMAIL_ADDRESS %}
|
{% if EMAIL_ADDRESS %}
|
||||||
<li><a class="nodec icon-mail-alt" href="mailto:{{ EMAIL_ADDRESS }}"></a></li>
|
<li><a class="nodec icon-mail-alt" href="mailto:{{ EMAIL_ADDRESS }}"></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue