diff options
| author | Christian Cleberg <[email protected]> | 2024-03-29 01:30:23 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-03-29 01:30:23 -0500 |
| commit | 07c42d3ad17060131e822f5816d2057cd1753b1b (patch) | |
| tree | 205e844650144648e58700df2b632c89298904d4 /theme/templates/base.html | |
| parent | c71a52cb7a80a102e58bd5465e994225ea98c44f (diff) | |
| download | cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.tar.gz cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.tar.bz2 cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.zip | |
massive re-write from org-publish to weblorg
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> |
