update readme (add HEAD_COLOR option)
This commit is contained in:
parent
58e57c3bab
commit
081b418aa9
14
README.md
14
README.md
@ -18,6 +18,16 @@ To define custom header cover, set the property ``HEADER_COVER`` in ``pelicancon
|
|||||||
HEADER_COVER = 'static/my_image.png'
|
HEADER_COVER = 'static/my_image.png'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Header Color
|
||||||
|
|
||||||
|
To define a simple header background color, set the property ``HEADER_COLOR`` in ``pelicanconf.py``:
|
||||||
|
|
||||||
|
```python
|
||||||
|
HEADER_COLOR = 'black'
|
||||||
|
```
|
||||||
|
|
||||||
|
you can use any valid css color.
|
||||||
|
|
||||||
### Social URLs
|
### Social URLs
|
||||||
|
|
||||||
Github, Twitter and Facebook URLs set these properties:
|
Github, Twitter and Facebook URLs set these properties:
|
||||||
@ -90,12 +100,12 @@ will not see the desired results.
|
|||||||
Accept many analytics:
|
Accept many analytics:
|
||||||
|
|
||||||
- Google Analytics: ``GOOGLE_ANALYTICS``;
|
- Google Analytics: ``GOOGLE_ANALYTICS``;
|
||||||
- Gauges: ``GAUGES``
|
- Gauges: ``GAUGES``
|
||||||
- Piwik: ``PIWIK_URL`` and ``PIWIK_SITE_ID``.
|
- Piwik: ``PIWIK_URL`` and ``PIWIK_SITE_ID``.
|
||||||
|
|
||||||
### Twitter cards
|
### Twitter cards
|
||||||
|
|
||||||
Twitter cards are automatically generated if TWITTER_HANDLE is set:
|
Twitter cards are automatically generated if TWITTER_HANDLE is set:
|
||||||
```python
|
```python
|
||||||
TWITTER_HANDLE = "myprofile"
|
TWITTER_HANDLE = "myprofile"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user