Changeset - d1960cf04c67
[Not reviewed]
2 6 0
Ben Sturmfels (bsturmfels) - 6 months ago 2023-10-09 01:50:42
ben@sturm.com.au
Fix further podcast links, remove unused base template and CSS, improve layout
8 files changed with 23 insertions and 300 deletions:
0 comments (0 inline, 0 general)
www/podjango/static/podjango/podjango.css
Show inline comments
 
deleted file
www/podjango/templates/podjango/base_podcast.html
Show inline comments
...
 
@@ -5,13 +5,24 @@
 

	
 
{% extends "base_standard.html" %}
 

	
 
{% load static %}
 

	
 
{% block head %}
 
<meta name="description" content="Free as in Freedom is a bi-weekly oggcast about legal, policy and other issues in Free, Libre and Open Source Software" />
 
<meta name="keywords" content="software, freedom, podjango, open source, gnu, GNU, Open Source, Free and Open Source, Free and Open Source Software, FLOSS, FOSS, protect, protection, help, policy, linux, non-profit, oggcast, podcast" />
 
<style>
 
 ul {
 
   padding-left: 2rem;
 
   margin-bottom: 1rem;
 
 }
 
 a.feedlink img { margin-left: 0.5rem }
 
</style>
 
<link rel="alternate" type="application/rss+xml" title="MP3 Audio Feed for Free as in Freedom" href="{% url 'podjango:feed-mp3' %}" />
 
<link rel="alternate" type="application/rss+xml" title="Ogg/Vorbis Audio Feed for Free as in Freedom" href="{% url 'podjango:feed-ogg' %}" />
 
{% endblock %}
 

	
 
{% comment %}
 
{% block internal_navigate %}
 

	
 
<h3>Tags</h3>
 
<ul>
 
{% for tag in all_tags %}
...
 
@@ -24,3 +35,4 @@
 
<!-- <p><a href="/podcast/query/">Query...</a></p> -->
 

	
 
{% endblock %}
 
{% endcomment %}
www/podjango/templates/podjango/base_standard.html
Show inline comments
 
deleted file
www/podjango/templates/podjango/cast/cast_archive_day.html
Show inline comments
...
 
@@ -14,9 +14,9 @@
 
<h2>Free as in Freedom Archive: {{ day|date:"F j, Y" }}</h2>
 

	
 
{% for object in object_list %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
    <div class="pa2 mb2" style="background: #F0FFB8">
 
    <h3><a href="{{ object.get_absolute_url }}">{{ object.title|safe }}</a></h3>
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
        {{ object.summary|safe }}
 
    <p><span class="continued"><a href="{{ object.get_absolute_url
 
    }}">Read More...</a></span></p>
www/podjango/templates/podjango/cast/cast_archive_month.html
Show inline comments
...
 
@@ -14,9 +14,9 @@
 
<h2>Free as in Freedom Archive: {{ month|date:"F, Y" }}</h2>
 

	
 
{% for object in object_list %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
    <div class="pa2 mb2" style="background: #F0FFB8">
 
    <h3><a href="{{ object.get_absolute_url }}">{{ object.title|safe }}</a></h3>
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
        {{ object.summary|safe }}
 
    <p><span class="continued"><a href="{{ object.get_absolute_url
 
    }}">Read More...</a></span></p>
www/podjango/templates/podjango/cast/cast_list.html
Show inline comments
...
 
@@ -17,13 +17,13 @@ tagged {% for tag in tags %}{% if not forloop.last %}{% if not forloop.first %},
 
{% endif %}
 

	
 
{% for object in object_list %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
    <div class="pa2 mb2" style="background: #F0FFB8">
 
    <h3>
 
<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>
 

	
 
<a href="{{ object.get_absolute_url }}">{{ object.title|safe }}</a></h3>
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
    <h4>Summary</h4>
 

	
 
    {{ object.summary|safe }}
www/podjango/templates/podjango/frontpage.html
Show inline comments
...
 
@@ -37,14 +37,14 @@ Bradley and Karen to discuss various topics regarding FLOSS.</p>
 
<h2>{% include 'podjango/feed_links.inc.html' %}<a href="{% url 'podjango:cast' %}">Recent Free as in Freedom Shows</a></h2>
 

	
 
{% for cc in cast %}
 
<div class="shaded">
 
<div class="pa2 mb2" style="background: #F0FFB8">
 
<a class="feedlink" href="{{ cc.ogg_path }}">{% include 'podjango/audio_ogg_button.inc.html' %}</a>
 
<a class="feedlink" href="{{ cc.mp3_path }}">{% include 'podjango/audio_mp3_button.inc.html' %}</a>
 
<p class="date">{{ cc.pub_date|date:"F j, Y" }}</p>
 
<h3><a href="{{ cc.get_absolute_url }}">{{ cc.title|safe }}</a></h3>
 
<p class="date">{{ cc.pub_date|date:"F j, Y" }}</p>
 
{{ cc.summary|safe }}
 
</div>
 
{% endfor %}
 
<p><a href="{% url 'podjango:cast' }">All oggcasts&hellip;</a></p>
 
<p><a href="{% url 'podjango:cast' %}">All oggcasts&hellip;</a></p>
 
</div>
 
{% endblock %}
www/podjango/urls.py
Show inline comments
...
 
@@ -32,7 +32,7 @@ admin.autodiscover()
 
app_name = 'podjango'
 
urlpatterns = [
 
    url(r'^$', frontpage.view),
 
    url(r'^cast/?', include('podjango.apps.cast.urls')),
 
    url(r'^cast/', include('podjango.apps.cast.urls')),
 
    url(r'^feeds/cast-ogg/?$', OggCastFeed(), name='feed-ogg'),
 
    url(r'^feeds/cast-mp3/?$', OggCastFeed(), name='feed-mp3'),
 
    url(r'^feeds/$', view, name='feeds'),
0 comments (0 inline, 0 general)