Fix Header

This commit is contained in:
spikecodes 2020-12-08 09:58:36 -08:00
parent 528fe15819
commit e1962c7b66
3 changed files with 2 additions and 14 deletions

View file

@ -18,14 +18,14 @@
{% endblock %}
</head>
<body>
{% block body %}
{% block header %}
<header>
<a href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a>
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
</header>
{% endblock %}
{% block body %}
<main>
{% block content %}
{% endblock %}

View file

@ -1,12 +1,6 @@
{% extends "base.html" %}
{% block title %}r/{{ sub.name }}: {{ sub.description }}{% endblock %}
{% block body %}
{% block header %}
<header>
<a href="/"><span id="lib">lib</span>reddit.</a>
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
</header>
{% endblock %}
<div id="about">
<div class="subreddit">
<div class="subreddit_left">

View file

@ -1,12 +1,6 @@
{% extends "base.html" %}
{% block title %}Libreddit: u/{{ user.name }}{% endblock %}
{% block body %}
{% block header %}
<header>
<a href="/"><span id="lib">lib</span>reddit.</a>
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
</header>
{% endblock %}
<div id="about">
<div class="user">
<div class="user_left">