forked from varia/varia.website
many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
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.
18 lines
515 B
18 lines
515 B
7 years ago
|
# 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
|
||
|
|
||
|
1. Insert `FOOTER_INSERT_HTML` to your `pelicanconf.py`. You can use
|
||
|
title / url / author / authors / slug / category / summary
|
||
|
/ date infomation in the config like this: `%(title)s`.
|
||
|
2. Insert this code to your artical template file, eg. `templates/article.html`:
|
||
|
```
|
||
|
{% if article.footer_insert_html %}
|
||
|
{{ article.footer_insert_html }}
|
||
|
{% endif %}
|
||
|
```
|