Add favicon.
This commit is contained in:
parent
c6255cf531
commit
f1a8629ade
2 changed files with 7 additions and 1 deletions
|
@ -46,12 +46,14 @@ See what you can customize.
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
AUTHOR = 'Foo Bar'
|
||||||
|
SITEURL = 'http://yoursite.com'
|
||||||
SITENAME = 'Foo Bar's Blog'
|
SITENAME = 'Foo Bar's Blog'
|
||||||
SITETITLE = 'Foo Bar'
|
SITETITLE = 'Foo Bar'
|
||||||
SITESUBTITLE = 'Web Developer'
|
SITESUBTITLE = 'Web Developer'
|
||||||
SITEDESCRIPTION = 'Foo Bar\'s Thoughts and Writings'
|
SITEDESCRIPTION = 'Foo Bar\'s Thoughts and Writings'
|
||||||
SITELOGO = 'http://yoursite.com/img/profile.png'
|
SITELOGO = 'http://yoursite.com/img/profile.png'
|
||||||
|
FAVICON = SITEURL + '/images/favicon.ico'
|
||||||
ROBOTS = 'index, follow'
|
ROBOTS = 'index, follow'
|
||||||
COPYRIGHT_YEAR = 2015
|
COPYRIGHT_YEAR = 2015
|
||||||
CC_LICENSE = { 'name': 'Creative Commons Attribution-ShareAlike', 'version':'4.0', 'slug': 'by-sa') }
|
CC_LICENSE = { 'name': 'Creative Commons Attribution-ShareAlike', 'version':'4.0', 'slug': 'by-sa') }
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
{% if FEED_ALL_RSS %}
|
{% if FEED_ALL_RSS %}
|
||||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS">
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if FAVICON %}
|
||||||
|
<link rel="shortcut icon" href="{{ FAVICON }}" type="image/x-icon">
|
||||||
|
<link rel="icon" href="{{ FAVICON }}" type="image/x-icon">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
Loading…
Reference in a new issue