Update README for adsense

This commit is contained in:
gustavofoa 2016-09-17 11:51:26 -03:00
parent 034fa947b4
commit 0d9f8f61e8

View file

@ -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