2025-03-15 15:55:40 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2025-03-16 21:22:28 -04:00
|
|
|
|
2025-03-15 15:55:40 -04:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>{{ title }}</title>
|
2025-03-16 21:22:28 -04:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&display=swap" rel="stylesheet">
|
|
|
|
|
2025-03-15 15:55:40 -04:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='base.css') }}">
|
|
|
|
{% for style in styles %}
|
2025-03-16 21:22:28 -04:00
|
|
|
<link rel="stylesheet" href="/styles{{ style }}" type="text/css">
|
2025-03-15 15:55:40 -04:00
|
|
|
{% endfor %}
|
|
|
|
</head>
|
2025-03-16 21:22:28 -04:00
|
|
|
|
2025-03-15 15:55:40 -04:00
|
|
|
<body>
|
2025-03-16 21:22:28 -04:00
|
|
|
<div class="holder">
|
|
|
|
<div class="sidebar"> <!-- Changed <sidebar> to <div> -->
|
2025-03-15 15:55:40 -04:00
|
|
|
<ul>
|
2025-03-16 21:22:28 -04:00
|
|
|
<li><a href="/">⌂ Home</a></li>
|
|
|
|
<hr>
|
|
|
|
{% for f in get_folder_contents() %}
|
|
|
|
{% if not f.is_dir %}
|
|
|
|
{% if f.proper_name == "index" %}
|
|
|
|
{% else %}
|
|
|
|
<li><a href="/{{ f.path }}">{{ f.proper_name }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2025-03-15 15:55:40 -04:00
|
|
|
</ul>
|
2025-03-16 21:22:28 -04:00
|
|
|
</div>
|
|
|
|
<div class="content"> <!-- <main> tag remains the same -->
|
|
|
|
{{ content|safe }}
|
|
|
|
<div class="footer">
|
|
|
|
<p>© DWS</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2025-03-15 15:55:40 -04:00
|
|
|
</body>
|
2025-03-16 21:22:28 -04:00
|
|
|
|
|
|
|
</html>
|