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('/')
|
||||
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">
|
||||
© chimchooree<br>
|
||||
© chimchooree {{year}}<br>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
+1
-1
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user