Adicionando suporte a escolher um formato de favicon
This commit is contained in:
parent
e565929136
commit
a735445a6b
17
README.md
17
README.md
@ -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
|
||||
|
@ -94,6 +94,9 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock twitter_card %}
|
||||
{% if FAVICON %}
|
||||
<link rel="icon" href="/{{FAVICON}}">
|
||||
{% endif %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user