mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-12 05:11:18 -06:00
Add page generation time to footer
This commit is contained in:
@@ -50,6 +50,10 @@ def create_app():
|
|||||||
db.session.add(current_user)
|
db.session.add(current_user)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
|
@app.context_processor
|
||||||
|
def inject():
|
||||||
|
return dict(now=datetime.utcnow)
|
||||||
|
|
||||||
# CLI commands setup
|
# CLI commands setup
|
||||||
@app.shell_context_processor
|
@app.shell_context_processor
|
||||||
def shell_context():
|
def shell_context():
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
<li><a href="/">WXYZ</a></li>
|
<li><a href="/">WXYZ</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright">
|
<p class="copyright">
|
||||||
<a href="/">©2022 Runnerspace.live All Rights Reserved.</a>
|
<a href="/">©2022 Runnerspace.live All Rights Reserved.</a> | Served at {{ now().isoformat(sep=' ', timespec='milliseconds') }}
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user