Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mb@mb
04c2824180
|
7 years ago | |
---|---|---|
.. | ||
README.md | 7 years ago | |
__init__.py | 7 years ago | |
footer_insert.py | 7 years ago |
README.md
Footer Insert
This plugin allows you to insert a FOOTER_INSERT_HTML
to the end of the blog.
eg. add authors / blog infomation to every blog.
Usage
- Insert
FOOTER_INSERT_HTML
to yourpelicanconf.py
. You can use title / url / author / authors / slug / category / summary / date infomation in the config like this:%(title)s
. - Insert this code to your artical template file, eg.
templates/article.html
:
{% if article.footer_insert_html %}
{{ article.footer_insert_html }}
{% endif %}