my-website/templates/base.html
Jonas Tobias Hopusch 8536ef00a4
Host license image with website instead of hotlinking and use svg instead of png
This fixes an issue where the CORS headers for the website would not allow the image to be loaded
from the Creative Commons servers.

The switch to svg also makes sure that the icon will always be perfectly rendered, regardless of
screen size or page zooming.
2022-04-02 16:26:30 +02:00

97 lines
3.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
type="text/css"
rel="stylesheet"
href="{{ get_url(path='css/general.css') }}"
/>
<meta name="color-scheme" content="dark light" />
<meta name="author" content="Jonas Tobias Hopusch" />
<meta name="referrer" content="no-referrer" />
<meta name="robots" content="all, index, follow" />
<link rel="canonical" href="{{ current_url }}" />
<link
rel="alternate"
type="application/atom+xml"
href="{{ get_url(path='atom.xml') }}"
/>
<!--Mastodon account ownership verification-->
<link rel="me" href="https://ruhr.social/@jotoho" />
<title>jotoho.de - A personal website</title>
{% block metadata %} {% endblock %}
</head>
<body>
<header>
<div>
<a href="{{ config.base_url }}"
><h1>jotoho.de - My personal website</h1></a
>
</div>
</header>
<nav class="globalnav">
<!--<a class="globalnav-element" href="{{ get_url(path='@/blog/_index.md') }}"> Blog </a>-->
<a
class="globalnav-element"
href="{{ get_url(path='@/servers/index.md') }}"
>
Servers
</a>
<a
class="globalnav-element"
href="{{ get_url(path='@/profiles/index.md') }}"
>
Profiles
</a>
</nav>
<hr />
<article id="mainarticle">{% block content %} {% endblock %}</article>
<hr />
<footer>
<p>
<!--{% set current_year = now() | date(format="%Y",
timezone="Europe/Berlin") %} -->
Copyright
<time datetime="{{ current_year }}">{{ current_year }}</time>
Jonas Tobias Hopusch (<a
rel="noreferer"
href="https://gitlab.com/jotoho"
>@jotoho</a
>)
<br />
Licensed under
<a href="https://creativecommons.org/licenses/by-nc-nd/4.0/"
><img
id="licenseimg"
alt="CC BY-NC-ND 4.0"
title="CC BY-NC-ND 4.0"
src="/images/copyright/cc-by-nc-nd-4.0-small.svg"
/></a>
(unless otherwise specified)
</p>
<p>
<a href="https://gitea.jotoho.de/jotoho/my-website"
>This page</a
>
is being served using
<a rel="noreferer" href="https://caddyserver.com/">Caddy</a>
and was generated using
<a rel="noreferer" href="https://www.getzola.org/">Zola</a>. You
may contact me via
<a href="mailto:webmaster@jotoho.de">email</a>
regarding any issues with this website.
</p>
<p>
You can
<a href="https://downloads.jotoho.de/openpgp/"
>download my OpenPGP public keys here</a
>.
</p>
</footer>
</body>
</html>