feat: Add block header rendering
All checks were successful
Build Docker / BuildImage (push) Successful in 36s
Check Code Quality / RuffCheck (push) Successful in 49s

This commit is contained in:
2025-11-20 17:05:12 +11:00
parent 91b6e32b98
commit d3b00a81ba
2 changed files with 60 additions and 1 deletions

View File

@@ -85,6 +85,12 @@ def block_route(block_id):
return render_template("index.html", datetime=current_datetime)
@app.route("/header/<path:block_id>")
def header_route(block_id):
current_datetime = datetime.now().strftime("%d %b %Y %I:%M %p")
return render_template("index.html", datetime=current_datetime)
@app.route("/address/<path:address>")
def address_route(address):
current_datetime = datetime.now().strftime("%d %b %Y %I:%M %p")