Merge pull request #58 from vanildosouto/adicionando-tag-favicon-html

Adicionando suporte a escolher um formato de favicon
This commit is contained in:
Gilson Filho 2017-03-10 09:10:15 -03:00 committed by GitHub
commit e4684d8a52
2 changed files with 20 additions and 0 deletions

View File

@ -110,6 +110,23 @@ Accept many analytics:
- Gauges: ``GAUGES``
- Piwik: ``PIWIK_URL`` and ``PIWIK_SITE_ID``.
### Favicon
To define if using a favicon and format:
```python
FAVICON = 'favicon.ico'
```
**WARNING:** Is necessary static_paths configured:
```python
STATIC_PATHS = ['images', 'extra/favicon.ico']
EXTRA_PATH_METADATA = {
'extra/favicon.ico': {'path': 'favicon.ico'}
}
```
### Other configuration
- If ``ADDTHIS_PUBID`` is defined sharing buttons from AddThis will appear

View File

@ -94,6 +94,9 @@
{% endif %}
{% endfor %}
{% endblock twitter_card %}
{% if FAVICON %}
<link rel="icon" href="/{{FAVICON}}">
{% endif %}
</head>
<body>