public
Description: Static website generator
Homepage:
Clone URL: git://github.com/btbytes/webgen.py.git
webgen.py / config.py
100644 18 lines (15 sloc) 0.694 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
 
author = 'Pradeep Gowda' # Default author name. Overridden in individual document
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
input_dir = os.path.join(THIS_DIR, 'input')
#output_dir = os.path.join(THIS_DIR, 'htdocs')
output_dir = '/Users/pradeep/Sites'
template_dir = THIS_DIR
template = os.path.join(template_dir, 'template.html')
 
### Optional parameters
options = { 'baseurl':'http://localhost/~pradeep', # if not set, relative URLs will be generated
            'sitename':'webgen.py',
            'slogan':'The simplest way to generate static websites',
            'extensions':['txt', 'mkd', 'markdown', 'textile'],
            'format': 'text/x-textile',
 
        }