Raymond Wanyoike 2014-06-21 15:40:42 +03:00
parent 3b78ae2e47
commit 910441751f
3 changed files with 12 additions and 0 deletions

View File

@ -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 |
@ -56,3 +57,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?"

View File

@ -9,6 +9,7 @@
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
{% include "include/favicon.html" %}
{% include "include/feeds.html" %}
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">

View File

@ -0,0 +1,7 @@
{% if EXTRA_FAVICON %}
<link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196">
<link rel="icon" type="image/png" href="/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
{% endif %}