Merge branch 'raymondwanyoike-extra-favicon'
* raymondwanyoike-extra-favicon: Add EXTRA_FAVICON optionmain
commit
450ed1f5a4
|
@ -24,6 +24,7 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/)
|
||||||
|
|
||||||
| Config | Type | Description |
|
| Config | Type | Description |
|
||||||
| ------------------------- | ---------- | ------------------------- |
|
| ------------------------- | ---------- | ------------------------- |
|
||||||
|
| EXTRA_FAVICON [^1] | BOOL | Extra favicons |
|
||||||
| LICENSE_NAME | TEXT | License (footer) |
|
| LICENSE_NAME | TEXT | License (footer) |
|
||||||
| LICENSE_URL | URL | - |
|
| LICENSE_URL | URL | - |
|
||||||
| MENU_ITEMS | DICT | Menu items |
|
| 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
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
||||||
|
|
||||||
|
[^1]: http://realfavicongenerator.net/faq#why_so_many_files "Why so many files?"
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
<title>{% block title %}{{ SITE_SUBTEXT }}{% endblock title %}</title>
|
<title>{% block title %}{{ SITE_SUBTEXT }}{% endblock title %}</title>
|
||||||
|
|
||||||
|
{% include "include/favicon.html" %}
|
||||||
{% include "include/feeds.html" %}
|
{% include "include/feeds.html" %}
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
Loading…
Reference in New Issue