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,7 +18,6 @@
{% endblock %} {% endblock %}
</head> </head>
<body> <body>
{% block body %}
{% block header %} {% block header %}
<header> <header>
<a href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a> <a href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a>
@ -26,6 +25,7 @@
</header> </header>
{% endblock %} {% endblock %}
{% block body %}
<main> <main>
{% block content %} {% block content %}
{% endblock %} {% endblock %}

View File

@ -1,12 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}r/{{ sub.name }}: {{ sub.description }}{% endblock %} {% block title %}r/{{ sub.name }}: {{ sub.description }}{% endblock %}
{% block body %} {% 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 id="about">
<div class="subreddit"> <div class="subreddit">
<div class="subreddit_left"> <div class="subreddit_left">

View File

@ -1,12 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Libreddit: u/{{ user.name }}{% endblock %} {% block title %}Libreddit: u/{{ user.name }}{% endblock %}
{% block body %} {% 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 id="about">
<div class="user"> <div class="user">
<div class="user_left"> <div class="user_left">