redsunlib/templates/base.html

28 lines
1.0 KiB
HTML
Raw Normal View History

2020-11-23 13:29:05 +13:00
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
2020-12-21 14:45:26 +13:00
<title>{% block title %}Libreddit{% endblock %}</title>
<meta http-equiv="Referrer-Policy" content="no-referrer">
2021-01-03 17:59:14 +13:00
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'none'; form-action 'self'; upgrade-insecure-requests">
2020-12-22 05:38:24 +13:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2020-11-23 13:29:05 +13:00
<meta name="description" content="View on Libreddit, an alternative private front-end to Reddit.">
2020-12-06 17:54:43 +13:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2020-11-23 13:29:05 +13:00
<link rel="stylesheet" href="/style.css">
{% endblock %}
2021-01-01 12:54:13 +13:00
</head>
2021-01-02 19:21:43 +13:00
<body>
2020-12-21 14:45:26 +13:00
<nav>
2021-01-01 13:45:10 +13:00
<a id="logo" href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a>
2021-01-01 12:54:13 +13:00
{% block search %}{% endblock %}
2020-11-23 13:29:05 +13:00
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
2020-12-21 14:45:26 +13:00
</nav>
2020-12-09 06:58:36 +13:00
{% block body %}
2020-11-23 13:29:05 +13:00
<main>
{% block content %}
{% endblock %}
</main>
{% endblock %}
</body>
</html>