From 70d6eb7140c78e31d4036b8619d3757acadd34ba Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 19 Oct 2023 17:49:57 +1100 Subject: [PATCH] podjango: Link up "The Corresponding Source" title This helps with navigating back to the home page. --- www/podjango/templates/podjango/cast/cast_archive_day.html | 3 +-- www/podjango/templates/podjango/cast/cast_archive_month.html | 3 +-- www/podjango/templates/podjango/cast/cast_archive_year.html | 2 +- www/podjango/templates/podjango/cast/cast_detail.html | 2 +- www/podjango/templates/podjango/cast/cast_list.html | 2 +- www/podjango/urls.py | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/www/podjango/templates/podjango/cast/cast_archive_day.html b/www/podjango/templates/podjango/cast/cast_archive_day.html index 9dd52425..eea72b0a 100644 --- a/www/podjango/templates/podjango/cast/cast_archive_day.html +++ b/www/podjango/templates/podjango/cast/cast_archive_day.html @@ -8,8 +8,7 @@ {% block content %} - -

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

+

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

Archive: {{ day|date:"F j, Y" }}

diff --git a/www/podjango/templates/podjango/cast/cast_archive_month.html b/www/podjango/templates/podjango/cast/cast_archive_month.html index 988d965b..1718d791 100644 --- a/www/podjango/templates/podjango/cast/cast_archive_month.html +++ b/www/podjango/templates/podjango/cast/cast_archive_month.html @@ -8,8 +8,7 @@ {% block content %} - -

{% include 'podjango/feed_links.inc.html' %}The Corresponding Source

+

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

Archive: {{ month|date:"F, Y" }}

diff --git a/www/podjango/templates/podjango/cast/cast_archive_year.html b/www/podjango/templates/podjango/cast/cast_archive_year.html index b134fdf0..b2173d13 100644 --- a/www/podjango/templates/podjango/cast/cast_archive_year.html +++ b/www/podjango/templates/podjango/cast/cast_archive_year.html @@ -8,7 +8,7 @@ {% block content %} -

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

+

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

Archive: {{ year }}

diff --git a/www/podjango/templates/podjango/cast/cast_detail.html b/www/podjango/templates/podjango/cast/cast_detail.html index e0e11b4a..745e81ed 100644 --- a/www/podjango/templates/podjango/cast/cast_detail.html +++ b/www/podjango/templates/podjango/cast/cast_detail.html @@ -8,7 +8,7 @@ {% block content %} -

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

+

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

{% include 'podjango/audio_ogg_button.inc.html' %} {% include 'podjango/audio_mp3_button.inc.html' %} diff --git a/www/podjango/templates/podjango/cast/cast_list.html b/www/podjango/templates/podjango/cast/cast_list.html index 1984291c..c15e0b72 100644 --- a/www/podjango/templates/podjango/cast/cast_list.html +++ b/www/podjango/templates/podjango/cast/cast_list.html @@ -8,7 +8,7 @@ {% block content %} -

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

+

{% include 'podjango/feed_links.inc.html' %} The Corresponding Source

{% if tags %}

Displaying casts diff --git a/www/podjango/urls.py b/www/podjango/urls.py index 1bb70209..4ef3ded7 100644 --- a/www/podjango/urls.py +++ b/www/podjango/urls.py @@ -39,7 +39,7 @@ info_dict = { } urlpatterns = [ - url(r'^$', frontpage.view), + url(r'^$', frontpage.view, name='cast-home'), url(r'^(?P\d{4})/(?P[a-z]{3})/(?P\w{1,2})/(?P[-\w]+)/$', DateDetailView.as_view(**info_dict), name='detail'), url(r'^(?P\d{4})/(?P[a-z]{3})/(?P\w{1,2})/$', DayArchiveView.as_view(**info_dict), name='day-archive'), url(r'^(?P\d{4})/(?P[a-z]{3})/$', MonthArchiveView.as_view(**info_dict), name='month-archive'),