foldsite/docs/templates/base.html

43 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2025-03-15 15:55:40 -04:00
<!DOCTYPE html>
<html lang="en">
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>
<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 %}
<link rel="stylesheet" href="/styles{{ style }}" type="text/css">
2025-03-15 15:55:40 -04:00
{% endfor %}
</head>
2025-03-15 15:55:40 -04:00
<body>
<div class="holder">
<div class="sidebar"> <!-- Changed <sidebar> to <div> -->
2025-03-15 15:55:40 -04:00
<ul>
<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>
</div>
<div class="content"> <!-- <main> tag remains the same -->
{{ content|safe }}
<div class="footer">
<p>&copy; DWS</p>
</div>
</div>
</div>
2025-03-15 15:55:40 -04:00
</body>
</html>