add index link to non-index pages
This commit is contained in:
parent
03d3c17dc4
commit
0f8cb367c7
|
@ -8,6 +8,12 @@
|
||||||
<link rel=stylesheet href="/static/css/common.css">
|
<link rel=stylesheet href="/static/css/common.css">
|
||||||
<body>
|
<body>
|
||||||
<h1>{% block titleheader %}{{ self.title() }}{% endblock titleheader %}</h1>
|
<h1>{% block titleheader %}{{ self.title() }}{% endblock titleheader %}</h1>
|
||||||
|
{% block header %}
|
||||||
|
<header><nav>
|
||||||
|
<a href="/">Home</a>
|
||||||
|
{% block nav %}{% endblock nav %}
|
||||||
|
</nav></header>
|
||||||
|
{% endblock header %}
|
||||||
<main>
|
<main>
|
||||||
{% block content %}{% endblock content %}
|
{% block content %}{% endblock content %}
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{% extends 'base.j2.html' %}
|
{% extends 'base.j2.html' %}
|
||||||
|
|
||||||
{% block title %}Freak University{% endblock title%}
|
{% block title %}Freak University{% endblock title%}
|
||||||
|
|
||||||
|
{# the home page does not need a link back to home #}
|
||||||
|
{% block header %}{% endblock header %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>Welcome to Freak University! There used to be a public fediverse instance here, but not anymore. However, we are working on restoring some of the affiliated services, and those restored are listed below. <strong>Please read <a href="/rules.html">the rules</a> before using any of these services.</strong></p>
|
<p>Welcome to Freak University! There used to be a public fediverse instance here, but not anymore. However, we are working on restoring some of the affiliated services, and those restored are listed below. <strong>Please read <a href="/rules.html">the rules</a> before using any of these services.</strong></p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue