Initial commit.

This commit is contained in:
2025-08-18 17:14:54 +02:00
commit 9d1623c739
19 changed files with 2129 additions and 0 deletions

1
app/routes/__init__.py Normal file
View File

@@ -0,0 +1 @@
# Package marker for routes

10
app/routes/home.py Normal file
View File

@@ -0,0 +1,10 @@
from flask import Blueprint, current_app, render_template
bp = Blueprint("home", __name__)
@bp.get("/")
def home():
vault_path = current_app.config.get("KB_VAULT_PATH")
has_vault = bool(vault_path)
return render_template("home.html", vault_path=vault_path, has_vault=has_vault)