parameters are moved to dictionary in the index python script
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ from bottle import route, run, template
|
|||||||
@route('/')
|
@route('/')
|
||||||
def index():
|
def index():
|
||||||
"""home page"""
|
"""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)
|
return template('index.tpl', info)
|
||||||
|
|
||||||
@route('/game')
|
@route('/game')
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!--Footer-->
|
<!--Footer-->
|
||||||
<footer>
|
<footer>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
© chimchooree<br>
|
© chimchooree {{year}}<br>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
% rebase('frame.tpl', title='chimchooree\'s dev space - blessfrey')
|
% rebase('frame.tpl')
|
||||||
<div class="body-row"> </div>
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
<div class="social">
|
<div class="social">
|
||||||
|
|||||||
Reference in New Issue
Block a user