parameters are moved to dictionary in the index python script

small-nav
Mimi Momo 4 years ago
parent c61909ecc6
commit 5df3535428

@ -3,7 +3,7 @@ from bottle import route, run, template
@route('/')
def index():
"""home page"""
info = {'news': 'News goes here'}
info = {'news': 'News goes here', 'title': 'chimchooree\'s dev space - blessfrey', 'year': '2020'}
return template('index.tpl', info)
@route('/game')

@ -1,6 +1,6 @@
<!--Footer-->
<footer>
<div class="footer">
&#169 chimchooree<br>
&#169 chimchooree {{year}}<br>
</div>
</footer>

@ -1,5 +1,5 @@
<!DOCTYPE html>
% rebase('frame.tpl', title='chimchooree\'s dev space - blessfrey')
% rebase('frame.tpl')
<div class="body-row"> </div>
<div class="social">

Loading…
Cancel
Save