podjango: Link up "The Corresponding Source" title

This helps with navigating back to the home page.
This commit is contained in:
Ben Sturmfels 2023-10-19 17:49:57 +11:00
parent acd2cef276
commit 70d6eb7140
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
6 changed files with 6 additions and 8 deletions

View file

@ -8,8 +8,7 @@
{% block content %}
<h1>{% include 'podjango/feed_links.inc.html' %} The Corresponding Source</h1>
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>
<h2>Archive: {{ day|date:"F j, Y" }}</h2>

View file

@ -8,8 +8,7 @@
{% block content %}
<h1>{% include 'podjango/feed_links.inc.html' %}The Corresponding Source</h1>
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>
<h2>Archive: {{ month|date:"F, Y" }}</h2>

View file

@ -8,7 +8,7 @@
{% block content %}
<h1>{% include 'podjango/feed_links.inc.html' %} The Corresponding Source</h1>
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>
<h2>Archive: {{ year }}</h2>

View file

@ -8,7 +8,7 @@
{% block content %}
<h1>{% include 'podjango/feed_links.inc.html' %} The Corresponding Source</h1>
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>
<h2><a class="feedlink" href="{{ object.ogg_path }}">{% include 'podjango/audio_ogg_button.inc.html' %}</a>
<a class="feedlink" href="{{ object.mp3_path }}">{% include 'podjango/audio_mp3_button.inc.html' %}</a>

View file

@ -8,7 +8,7 @@
{% block content %}
<h1>{% include 'podjango/feed_links.inc.html' %} The Corresponding Source</h1>
<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>
{% if tags %}
<p>Displaying casts

View file

@ -39,7 +39,7 @@ info_dict = {
}
urlpatterns = [
url(r'^$', frontpage.view),
url(r'^$', frontpage.view, name='cast-home'),
url(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[-\w]+)/$', DateDetailView.as_view(**info_dict), name='detail'),
url(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', DayArchiveView.as_view(**info_dict), name='day-archive'),
url(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$', MonthArchiveView.as_view(**info_dict), name='month-archive'),