diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-03-29 01:42:38 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-03-29 01:42:38 -0500 |
commit | 00b2726e0561f174393ae600f0f11adb8afebaab (patch) | |
tree | a4733d553ce68f64277ffa3a52f800dc58ff72de /theme/templates/base.html | |
parent | 8ba3d90a0f3db7e5ed29e25ff6d0c1b557ed3ca0 (diff) | |
parent | 41bd0ad58e44244fe67cb36e066d4bb68738516f (diff) | |
download | cleberg.net-00b2726e0561f174393ae600f0f11adb8afebaab.tar.gz cleberg.net-00b2726e0561f174393ae600f0f11adb8afebaab.tar.bz2 cleberg.net-00b2726e0561f174393ae600f0f11adb8afebaab.zip |
merge org branch into main
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r-- | theme/templates/base.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html new file mode 100644 index 0000000..167883c --- /dev/null +++ b/theme/templates/base.html @@ -0,0 +1,41 @@ + +<!doctype html> +<html lang="en-us"> +<head> + {% block head %} + <meta charset="utf-8"> + <title> + {% block subtitle %}{% endblock %} + {% block title %}{{ site_name | default("weblorg website") }}{% endblock %} + </title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %} + {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %} + {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %} + <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css"> + {% block meta %}{% endblock %} + {% endblock %} +</head> +<body> + {% block nav %} + <nav class="site-nav" aria-label="site-nav" role="navigation"> + <ul> + <li><a href="/">Home</a></li> + <li><a href="/blog/">Blog</a></li> + <li><a href="/services/">Services</a></li> + <li><a href="/wiki/">Wiki</a></li> + </ul> + </nav> + {% endblock %} + + <main>{% block main %}{% endblock %}</main> + + {% block footer %} + <footer> + <p>Last Build: <{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}></p> + <p><a href="https://git.cleberg.net/cleberg.net.git" target="_blank" rel="noopener">Source Code</a></p> + <p><a href="/atom.xml">Atom RSS Feed</a></p> + </footer> + {% endblock %} +</body> +</html> |