diff --git a/README.md b/README.md index 160f833..d41af04 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/) | Config | Type | Description | | ------------------------- | ---------- | ------------------------- | +| EXTRA_FAVICON [^1] | BOOL | Extra favicons | | LICENSE_NAME | TEXT | License (footer) | | LICENSE_URL | URL | - | | MENU_ITEMS | DICT | Menu items | @@ -58,3 +59,6 @@ An RSS icon will also appear on the nav if `FEED_ATOM` or `FEED_RSS` is set. ## License MIT + + +[^1]: http://realfavicongenerator.net/faq#why_so_many_files "Why so many files?" diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 5706465..441d294 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -9,6 +9,7 @@ {% block title %}{{ SITE_SUBTEXT }}{% endblock title %} + {% include "include/favicon.html" %} {% include "include/feeds.html" %} diff --git a/alchemy/templates/include/favicon.html b/alchemy/templates/include/favicon.html new file mode 100644 index 0000000..50a0826 --- /dev/null +++ b/alchemy/templates/include/favicon.html @@ -0,0 +1,7 @@ +{% if EXTRA_FAVICON %} + + + + + +{% endif %}