diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-07-28 19:46:20 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-07-28 19:46:20 -0500 |
commit | 2be43cc479dfd4cfb621f14381330c708291e324 (patch) | |
tree | 7ac50f99425c5524c0820360754045b80d1bafcc /theme/templates/base.html | |
parent | afe76ac7d7498b862abaa623790b91410e34574d (diff) | |
download | cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.gz cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.bz2 cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.zip |
conversion from Zola to Weblorg
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r-- | theme/templates/base.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html new file mode 100644 index 0000000..d6b37d2 --- /dev/null +++ b/theme/templates/base.html @@ -0,0 +1,39 @@ +<!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"> + <link rel="icon" href="data:,"> + {% block meta %}{% endblock %} + {% endblock %} +</head> +<body> + <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> + <main>{% block main %}{% endblock %}</main> + <footer> + <p>Last build: <{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}></p> + <p> + <a href="https://git.sr.ht/~cyborg/cleberg.net" + target="_blank" rel="noopener">Source Code</a> + · + <a href="/feed.xml">RSS Feed</a> + </p> + </footer> +</body> +</html> |