libreddit/templates/base.html

35 lines
934 B
HTML
Raw Normal View History

2020-11-23 00:29:05 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
<title>{% block title %}{% endblock %}</title>
<meta name="description" content="View on Libreddit, an alternative private front-end to Reddit.">
2020-12-06 04:54:43 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2020-11-23 00:29:05 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/style.css">
{% block sortstyle %}
<style>
#sort > #sort_{{ sort }} {
background: aqua;
color: black;
}
</style>
{% endblock %}
{% endblock %}
</head>
<body>
{% block body %}
{% block header %}
<header>
2020-12-06 05:29:25 +00:00
<a href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a>
2020-11-23 00:29:05 +00:00
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
</header>
{% endblock %}
<main>
{% block content %}
{% endblock %}
</main>
{% endblock %}
</body>
</html>