diff options
| author | Christian Cleberg <[email protected]> | 2024-04-27 17:01:13 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-04-27 17:01:13 -0500 |
| commit | 63a5afda03daefb45e061a055685335207f21b60 (patch) | |
| tree | d5193997d72a52f7a6d6338ea5da8a6c80b4eddc /templates/base.html | |
| parent | eac7b5d0841f62d4cf1dc81f0fed3f207316bca0 (diff) | |
| download | cleberg.net-63a5afda03daefb45e061a055685335207f21b60.tar.gz cleberg.net-63a5afda03daefb45e061a055685335207f21b60.tar.bz2 cleberg.net-63a5afda03daefb45e061a055685335207f21b60.zip | |
test conversion back to markdown
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..e867cb9 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,48 @@ +<!doctype html> +<html lang="en"> +<head> + {% block title %} + <title>cleberg.net</title> + {% endblock %} + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="theme-color" content="#111" media="(prefers-color-scheme: dark)"> + <meta name="theme-color" content="#fff" media="(prefers-color-scheme: light)"> + {% if page %} + {% if page.description %} + <meta name="description" content="{{ page.description }}"> + {% elif config.description %} + <meta name="description" content="{{ config.description }}"> + {% endif %} + {% elif config.description %} + <meta name="description" content="{{ config.description }}" /> + {% endif %} + + {% block rss %} + <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> + {% endblock %} + + {% block css %} + <link rel="stylesheet" href="/styles.min.css"> + {% endblock css %} + + {% block extra_head %}{% endblock extra_head %} +</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 content %}{% endblock content %}</main> + + <footer> + <p>Last build: {{ now() | date(format="%Y-%m-%d %H:%M:%S") }}</p> + <p><a href="https://git.cleberg.net/?p=cleberg.net.git;a=summary" target="_blank" rel="noopener">Source Code</a></p> + <p><a href="/atom.xml">Atom RSS Feed</a></p> + </footer> +</body> +</html> |
