diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2023-11-01 21:02:09 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2023-11-01 21:02:09 +0100 |
commit | 6d3b8739287f8f1c89211b1c785342c2ce9050f5 (patch) | |
tree | 1b74e6c498cfa0bb12cdad10703b76e8303a71a5 /templates/base.html | |
parent | ef15a6ec8f14c2398cfd28786c83072888690718 (diff) |
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html index f3c81fb..09d787b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,15 +2,33 @@ <html>
<head>
<meta charset="utf-8" />
- <title>Steven Le Rouzic</title>
+ <title>{% block title %}{% endblock %}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Serif+Caption&family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{ get_url(path="theme.css") }}" />
<script src="https://unpkg.com/htmx.org@1.9.6"></script>
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
</head>
<body hx-boost="true">
+ <div id="header">
+ <div class="title_desc">
+ <p class="title"><a href="{{ get_url(path="@/_index.md") }}">{{ config.title }}</a></p>
+ <p class="description">{{ config.description }}</p>
+ </div>
+ <div style="flex-grow: 1;"></div>
+ <div class="navigation">
+ <a href="{{ get_url(path="@/blog/_index.md") }}">Blog</a>
+ {% set tags = get_taxonomy(kind="tags") %}
+ <a href="{{ tags.permalink | safe }}" class="secondary">Tags</a>
+ <a href="https://twitter.com/steven_lr">Twitter</a>
+ <a href="https://github.com/stevenlr">Github</a>
+ </div>
+ </div>
{% block content %}{% endblock %}
+ <div id="footer" class="typography">
+ <p>© Copyright {{ now() | date(format="%Y") }}, Steven Le Rouzic</p>
+ </div>
</body>
</html>
|