Update README for adsense
This commit is contained in:
parent
034fa947b4
commit
0d9f8f61e8
1 changed files with 13 additions and 6 deletions
19
README.md
19
README.md
|
@ -27,13 +27,20 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme.
|
||||||
|
|
||||||
## Adsense banner
|
## Adsense banner
|
||||||
|
|
||||||
The theme supports responsive adsense banners on the top/bottom of articles.
|
The theme supports responsive adsense banners on the top/bottom of articles and index. And a 250x250 banner in aside.
|
||||||
To configure it create a responsive banner on your adsense account and set this on your pelicanconf.
|
To configure it create a responsive banner and a 250x250 banner on your adsense account and set this on your pelicanconf.
|
||||||
|
|
||||||
- ADSENSE_AD_CLIENT = 'YOUR AD CLIENT'
|
'''json
|
||||||
- ADSENSE_AD_SLOT = 'YOUR AD SLOT'
|
ADSENSE = {
|
||||||
- SHOW_ADSENSE_ARTICLE_TOP = True/False
|
'adClientId' : '<< YOUR AD CLIENT>>',
|
||||||
- SHOW_ADSENSE_ARTICLE_BOTTOM = True/False
|
'adSlot' : {
|
||||||
|
'aside_250x250' : '<< AD-SLOT FOR THE 250X250 BANNER >>',
|
||||||
|
'articleBottom_responsible' : '<< AD-SLOT FOR THE RESPONSIBLE BANNER >>',
|
||||||
|
'top_responsible' : '<< AD-SLOT FOR THE RESPONSIBLE BANNER >>',
|
||||||
|
'homeBottom_responsible' : '<< AD-SLOT FOR THE RESPONSIBLE BANNER >>'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'''
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue