-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathggconfig.py
27 lines (26 loc) · 1.22 KB
/
ggconfig.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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
config = {
'site': {
'base_url': 'https://oliz.io/ggpy', # Default: no base_url, then ggpy won't convert to absolute/canonical links. Must not end with a "/"
'generate_sitemap': True, # Default: False
'generate_rss': True, # Default: False
'additional_sitemap_entries': [], # Default: none / empty
'title': 'Good Generator.py', # Default: no common title will be rendered across all pages
'logo': 'static/gg.png', # Default: no common logo will be rendered across all pages
'head': [ # Additioal head tags, default: none / empty
'''<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'">''',
'''<meta name="referrer" content="no-referrer">'''
]
},
'author': {
'name': 'Good Gen',
'url': 'https://oliz.io/ggpy'
},
'social': {
'email': 'mailto:[email protected]',
'twitter': 'https://nitter.net/',
'github': 'https://github.com/ooz/ggpy',
'about': 'https://oliz.io/about.html'
}
}