Commit 7a601001c1ae9933f3eb23bb0b8b5c2f4e194d97

Add simple support for site wide footer

  Add footer in config file. HTML is allowed. See sampleConf.py
  
1DB = 'crin'
1DB = 'mouchak_test'
22SITE_TITLE = 'Testing Mouchak'
3SITE_FOOTER = '''
4<div style="text-align: center;">
5 <small> Place your site footer here </small>
6</div>
7'''
38HOST = '0.0.0.0'
49PORT = 5000
  
4444@app.route('/', methods=['GET'])
4545def index():
4646 return flask.render_template('index.html', content=getContent(),
47 title=conf.SITE_TITLE)
47 title=conf.SITE_TITLE, footer=conf.SITE_FOOTER)
4848
4949
5050@app.route('/edit', methods=['GET'])
  
2828 <div id="navigation"></div>
2929 </div>
3030 <div id="content-container"></div>
31 <div id="footer"></div>
31 <div id="footer"> {{ footer|safe }} </div>
3232 </div>
3333
3434 <script>