-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpublishconf.py
38 lines (30 loc) · 1.18 KB
/
publishconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
SITEURL = 'https://www.devlo.io'
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
GOOGLE_ANALYTICS = "UA-116740360-1"
GOOGLE_TAG_MANAGER = "GTM-T32GC6Q"
GOOGLE_ADSENSE = {
'ca_id': 'ca-pub-2119138261035978', # Your AdSense ID
'page_level_ads': True, # Allow Page Level Ads (mobile)
'ads': {
'aside': '7180191250', # Side bar banner (all pages)
'main_menu': '7180191250', # Banner before main menu (all pages)
'index_top': '', # Banner after main menu (index only)
'index_bottom': '5952522457', # Banner before footer (index only)
'article_top': '5952522457', # Banner after article title (article only)
'article_bottom': '5952522457', # Banner after article content (article only)
}
}