diff options
| author | Christian Cleberg <[email protected]> | 2026-08-01 23:56:19 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-01 23:56:19 -0500 |
| commit | c03e38b07ce439f9e6f4d23cb470193393e840e2 (patch) | |
| tree | 356657ff9396912e1c8bfb36f8c0d4afe283b152 /templates/base.html | |
| parent | 65f7a9607a60adbcb33ce4227f96980345006d5e (diff) | |
| download | krz.sh-c03e38b07ce439f9e6f4d23cb470193393e840e2.tar.gz krz.sh-c03e38b07ce439f9e6f4d23cb470193393e840e2.tar.bz2 krz.sh-c03e38b07ce439f9e6f4d23cb470193393e840e2.zip | |
initial commit
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..09c565d --- /dev/null +++ b/templates/base.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang="{{ lang | default(value="en") }}"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{% block title %}{{ config.title }}{% endblock title %}</title> + <meta name="description" content="{% block description %}{{ config.description }}{% endblock description %}"> + <meta name="color-scheme" content="dark light"> + <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}"> + <link rel="icon" href="{{ get_url(path="favicon.svg") | safe }}"> +</head> +<body> + <header class="site-header"> + <a class="brand" href="{{ get_url(path="/") | safe }}">krazy warez</a> + <nav class="site-nav"> + <a href="{{ get_url(path="/services/") | safe }}">services</a> + <span class="sep">·</span> + <a href="{{ get_url(path="/apps/") | safe }}">apps</a> + </nav> + </header> + + <main class="site-main"> + {% block content %}{% endblock content %} + </main> + + <footer class="site-footer"> + <p class="foot-links"><a href="mailto:{{ config.extra.email }}">{{ config.extra.email }}</a> · <a href="{{ config.extra.github }}">github</a> · © {{ now() | date(format="%Y") }} · public domain</p> + </footer> +</body> +</html> |
