podjango: Factor out credits, feedback and license info

This makes it easier to keep up-to-date across multiple templates.
This commit is contained in:
Ben Sturmfels 2023-10-19 17:52:48 +11:00
parent 70d6eb7140
commit 21cb41e58b
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
6 changed files with 25 additions and 42 deletions

View file

@ -31,15 +31,15 @@ This show was released on {{ object.pub_date|date:"l j F Y" }}; its
running time is {{ object.duration}}.</p>
<h3>Show Notes</h3>
<div>
<div class="mb5">
{{ object.body|safe }}
</div>
<h3>Feedback</h3>
<p>Send feedback and comments on the oggcast
to <a href="mailto:oggcast@faif.us">&lt;oggcast@faif.us&gt;</a>.
You can keep in touch on our IRC channel, #faif on irc.freenode.net, and
by <a href="http://identi.ca/faif">following @faif on identi.ca</a>.</p>
<div class="i">
{% include "podjango/credits.inc.html" %}
{% include "podjango/feedback.inc.html" %}
{% include "podjango/license.inc.html" %}
</div>
{% if object.tags.all %}<p class="blog-tags">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}

View file

@ -0,0 +1,6 @@
<p>The Corresponding Source is produced by <a href="http://danlynch.org/blog/">Dan Lynch</a>
of <a href="http://danlynch.org/">danlynch.org</a>.
Theme
music written and performed
by <a href="http://www.miketarantino.com">Mike Tarantino</a>
with <a href="http://www.charliepaxson.com">Charlie Paxson</a> on drums.</p>

View file

@ -0,0 +1 @@
<p>Please email feedback and comments on the show to <a href="mailto:cast@faif.us">&lt;oggcast@faif.us&gt;</a>. You can keep in touch on our IRC channel, <a href="https://web.libera.chat/#faif">#faif on libera.chat</a>, and by following us on <a href="http://twitter.com/faifcast">Twitter</a>. You can also follow <a href="https://social.sfconservancy.org/conservancy">Conservancy on Mastodon</a> and <a href="https://twitter.com/conservancy">Twitter</a>.</p>

View file

@ -15,26 +15,6 @@
<hr width="80%"/>
<p>Send feedback and comments on the cast
to <a href="mailto:cast@faif.us">&lt;oggcast@faif.us&gt;</a>.
You can keep in touch on our IRC channel, #faif on irc.freenode.net, and
by <a href="http://identi.ca/conservancy">following Conservancy on
identi.ca</a> and <a href="https://twitter.com/conservancy">and Twitter</a>.</p>
<p>The Corresponding Source is produced by <a href="http://danlynch.org/blog/">Dan Lynch</a>
of <a href="http://danlynch.org/">danlynch.org</a>.
Theme
music written and performed
by <a href="http://www.miketarantino.com">Mike Tarantino</a>
with <a href="http://www.charliepaxson.com">Charlie Paxson</a> on drums.</p>
<p><a rel="license"
href="https://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-sa/4.0/88x31.png" hspace=10 /></a>
The content
of <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Sound" rel="dc:type">this
audcast</span>, and the accompanying show notes and music are licensed
under the <a rel="license"
href="https://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-Share-Alike 4.0 license (CC BY-SA 4.0)</a>.
</p>
{% include "podjango/feedback.inc.html" %}
{% include "podjango/credits.inc.html" %}
{% include "podjango/license.inc.html" %}

View file

@ -12,11 +12,8 @@ The discussion includes legal, policy, and many other issues in the Free, Libre,
and Open Source Software (FLOSS) world. Occasionally, guests join
Bradley and Karen to discuss various topics regarding FLOSS.</p>
<p>You can email feedback on the show
to <a href="mailto:oggcast@faif.us">&lt;oggcast@faif.us&gt;</a>, or join
bkuhn and other listeners in our IRC channel, #faif on
irc.freenode.net.</p>
{% include "podjango/credits.inc.html" %}
{% include "podjango/feedback.inc.html" %}
<h2>Follow the RSS and Other Feeds</h2>
@ -24,14 +21,6 @@ Bradley and Karen to discuss various topics regarding FLOSS.</p>
and <a href="{% url 'podjango:feed-mp3' %}">mp3 format</a>. These links <em>might</em>
work if you want to <a href="itpc://faif.us{% url 'podjango:feed-mp3' %}">subscribe to the show</a> <a href="https://itunes.apple.com/us/podcast/free-as-in-freedom/id450458894">with proprietary Apple devices.</a> </p>
<p>If you're interested you can
follow <a href="http://twitter.com/o0karen0o">Karen</a>,
and <a href="http://twitter.com/faifcast">the podcast itself</a>
on Twitter.
Also, <a href="http://ebb.org/bkuhn/blog">Bradley</a>
and <a href="http://gnomg.org">Karen</a> both have blogs you can
read.</p>
<h2>{% include 'podjango/feed_links.inc.html' %}<a href="{% url 'podjango:cast' %}">Recent Shows</a></h2>
{% for cc in cast %}

View file

@ -0,0 +1,7 @@
<p>The content
of <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Sound" rel="dc:type">this
oggcast</span>, and the accompanying show notes and music are licensed
under the <a rel="license"
href="https://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-Share-Alike 4.0 license (CC BY-SA 4.0)</a>.
</p>