Load images via staticfiles

This commit is contained in:
Ben Sturmfels 2024-02-27 10:19:38 +11:00
parent 7074802d50
commit d8a702c8c9
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
23 changed files with 112 additions and 95 deletions

View file

@ -59,13 +59,13 @@ class CastFeedBase(Feed):
def for_podcast_feed_extra_kwargs(self, obj):
return {
'managingEditorNames': 'Bradley and Karen',
'rssImage': {'url': 'http://faif.us/img/cast/faif_144x144.jpg',
'rssImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/faif_144x144.jpg',
'width': '144', 'height': '144'},
'webMaster': 'oggcast@faif.us (Bradley and Karen)',
'dcCreator': 'oggcast@faif.us (Bradley and Karen)',
'iTunesExplicit': 'No',
'iTunesBlock': 'No',
'iTunesImage': {'url': 'http://faif.us/img/cast/faif_300x300.jpg',
'iTunesImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/faif_300x300.jpg',
'title': 'The Corresponding Source (formerly Free as in Freedom)',
'link': self.author_link,
'type': 'video/jpg'},

View file

@ -1,8 +1,10 @@
{% load static %}
<p>
<a href="http://faif.us{{ obj.ogg_path }}"><img alt="[Direct download of cast in Ogg/Vorbis
format]" src="http://faif.us/img/cast/audio_ogg_button.png"/></a>
<a href="http://faif.us{{ obj.mp3_path }}"><img alt="[Direct download of cast in MP3 format]"
src="http://faif.us/img/cast/audio_mp3_button.png"/></a>
<a href="{{ obj.ogg_path }}"><img alt="[Direct download of cast in Ogg/Vorbis
format]" src="{% static 'img/cast/audio_ogg_button.png' %}"/></a>
<a href="{{ obj.mp3_path }}"><img alt="[Direct download of cast in MP3 format]"
src="{% static 'img/cast/audio_mp3_button.png' %}"/></a>
</p>
<p>
{{ obj.summary|safe }}

View file

@ -1,4 +1,5 @@
{% extends "base_compliance.html" %}
{% load static %}
{% block subtitle %}Give Up GitHub - {% endblock %}
{% block submenuselection %}GiveUpGitHub{% endblock %}
{% block content %}
@ -9,8 +10,8 @@
calling on all FOSS developers</a> to <strong>give up on
GitHub</strong>. </p>
<div class="picture-small right">
<img src="https://sfconservancy.org/img/GiveUpGitHub.svg" alt="A parody of the GitHub logo, walling off user rights and demanding payment"/>
<div class="picture-small right">
<img src="{% static 'img/GiveUpGitHub.svg' %}" alt="A parody of the GitHub logo, walling off user rights and demanding payment"/>
</div>
<p>We realize this is not an easy task; GitHub is ubiquitous. Through their
effective marketing, GitHub has convinced Free and Open Source Software
@ -39,7 +40,7 @@ as we'll continue to update it throughout 2022 and beyond!</p>
<p>There are so many reasons to give up on GitHub, but we list here a few of
the most important ones:
<ul>
<li><p><a href="https://github.com/features/copilot" rel="nofollow">Copilot
is a for-profit product</a> &mdash; developed and marketed by Microsoft
@ -107,7 +108,7 @@ top. We've personally observed various GitHub employees over the years
arguing in many venues to convince projects to avoid copyleft;
we've <a href="https://github.com/BenKallos/legislation/issues/2#issue-46911010">even
seen a GitHub employee do this in a GitHub bug ticket directly</a>.</p></li>
<li><p>GitHub is wholly owned by Microsoft, a company whose executives have historically repeatedly attacked copyleft licensing.</p></li>
</ul>

View file

@ -1,4 +1,5 @@
{% extends "base_about.html" %}
{% load static %}
{% block subtitle %}License and Sources - {% endblock %}
{% block submenuselection %}License{% endblock %}
{% block content %}
@ -20,7 +21,7 @@
<p>Conservancy's Logo is also licensed
under <a href="https://creativecommons.org/licenses/by-sa/4.0">CC-By-SA
4.0</a>. A <a href="/img/conservancy-logo_package.zip">Conservancy logo
4.0</a>. A <a href="{% static 'img/conservancy-logo_package.zip' %}">Conservancy logo
package in ZIP format is available, which includes high quality SVG, PNG
and other formats</a>.</p>

View file

@ -583,7 +583,7 @@ body.conservancy-sponsors #navbar ul li.sponsors > a /* NO COMMA HERE! */
display: inline-block;
height: 2em;
width: 2em;
background-image: url(/img/conservancy-supporter-heart.svg);
background-image: url(/static/img/conservancy-supporter-heart.svg);
background-size: contain;
background-repeat: no-repeat;
padding: 0.25em 1.2em 0.25em 0.25em;

View file

@ -8,4 +8,4 @@ Any use of this project's code by GitHub Copilot, past or present, is done witho
Join us; you can [give up GitHub](https://GiveUpGitHub.org) too!
![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)
![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/static/img/GiveUpGitHub.png)

View file

@ -21,4 +21,4 @@ Any use of this project's code by GitHub Copilot, past or present, is done
without our permission. We do not consent to GitHub's use of this project's
code in Copilot.
![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)
![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/static/img/GiveUpGitHub.png)

View file

@ -1,4 +1,5 @@
{% extends "base_standard.html" %}
{% load static %}
{% block subtitle %}FOSSY - {% endblock %}
{% block submenuselection %}FOSSY{% endblock %}
{% block content %}
@ -15,7 +16,7 @@
Center!</p>
<div class="picture right" style="width: 300px;">
<img src="../img/occ.jpg" alt="Aerial photograph of the Oregon Convention Center" style="max-height: 12em;">
<img src="{% static 'img/occ.jpg' %}" alt="Aerial photograph of the Oregon Convention Center" style="max-height: 12em;">
<p>CC-BY 2.0 Oregon Convention Center</p>
</div>

View file

@ -1,5 +1,6 @@
{% extends "base_conservancy.html" %}
{% load humanize %}
{% load static %}
{% block subtitle %}NPOAcct - {% endblock %}
{% block category %}npoacct{% endblock %}
@ -38,7 +39,7 @@
<h2>Non-Profit Accounting Software</h2>
<img src="/img/conservancy-accounting-campaign-logo.png" alt="Conservancy accounting campaign logo" style="float:left;" />
<img src="{% static 'img/conservancy-accounting-campaign-logo.png' %}" alt="Conservancy accounting campaign logo" style="float:left;" />
<p>Conservancy has a plan to help all non-profit organizations (NPOs) by
creating an Open Source and Free Software accounting system usable by

View file

@ -1,4 +1,5 @@
{% extends "base_projects.html" %}
{% load static %}
{% block subtitle %}Current Projects - {% endblock %}
{% block submenuselection %}Current{% endblock %}
{% block head %}
@ -12,7 +13,7 @@
<h2><a href="http://argouml.tigris.org/">ArgoUML</a></h2>
<img class="project-logo" src="../../img/projects/argouml.jpg" alt="" />
<img class="project-logo" src="{% static 'img/projects/argouml.jpg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -26,7 +27,7 @@ and is available in ten languages. See the feature list for more details.</p>
<h2><a href="https://backdropcms.org/">Backdrop CMS</a></h2>
<img class="project-logo" src="/img/Backdrop-Logo-Vertical.png" alt="" />
<img class="project-logo" src="{% static 'img/Backdrop-Logo-Vertical.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -42,7 +43,7 @@ can still afford a fantastic Open Source Content Management System.</p>
<h2><a href="http://bongo-project.org/">Bongo</a></h2>
<img class="project-logo" src="../../img/projects/bongo.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/bongo.png' %}" alt="" />
<p>The Bongo Project is creating fun and simple mail, calendaring and
contacts software: on top of a standards-based server stack; we're
@ -53,7 +54,7 @@ much more focused on how people want to organize their lives.</p>
<h2><a href="http://buildbot.net/">Buildbot</a></h2>
<img class="project-logo" src="../../img/projects/buildbot.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/buildbot.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -70,7 +71,7 @@ software development cycle. </p>
<h2 id="busybox"><a href="https://busybox.net/">BusyBox</a></h2>
<img class="project-logo" src="../../img/projects/busybox.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/busybox.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -96,7 +97,7 @@ in /etc, and a Linux kernel.</p>
<h2><a href="https://www.commonwl.org/">Common Workflow Language</a></h2>
<img class="project-logo" src="/img/projects/CWL-Logo-nofonts.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/CWL-Logo-nofonts.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -113,7 +114,7 @@ bioinformatics, medical imaging, astronomy, physics, and chemistry.</p>
<h2><a href="https://www.coreboot.org/">coreboot</a></h2>
<img class="project-logo" src="../../img/projects/coreboot.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/coreboot.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -130,7 +131,7 @@ and Internet of Things devices.</p>
<h2><a href="http://darcs.net/">Darcs</a></h2>
<img class="project-logo" src="../../img/projects/darcs.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/darcs.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -162,7 +163,7 @@ licensed under the GNU GPL.</p>
<h2><a href="http://etherpad.org/">Etherpad</a></h2>
<img class="project-logo" src="../../img/projects/etherpad.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/etherpad.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -175,7 +176,7 @@ collaborative real-time editing.</p>
<h2 id="freedv"><a href="https://freedv.org/">FreeDV</a></h2>
<img class="project-logo" src="../../img/projects/freedv.png" alt="FreeDV logo" />
<img class="project-logo" src="{% static 'img/projects/freedv.png' %}" alt="FreeDV logo" />
<p>FreeDV is a suite of open source software and accompanying hardware for
digital voice communication over HF radio. It consists of a voice codec
@ -205,7 +206,7 @@ protocol implementations cooperative and support for SSL sockets.</p>
<h2><a href="https://git-scm.com/">Git</a></h2>
<img class="project-logo" src="../../img/projects/git.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/git.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -240,7 +241,7 @@ Linux kernel.</p>
<h2><a href="http://harvey-os.org/">Harvey OS</a></h2>
<img class="project-logo" src="../../img/projects/harvey.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/harvey.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -266,7 +267,7 @@ maintain themselves.</p>
<h2><a href="https://inkscape.org/">Inkscape</a></h2>
<img class="project-logo" src="../../img/projects/inkscape.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/inkscape.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -304,7 +305,7 @@ software operating systems and research tools.</p>
<h2><a href="http://www.k-3d.org">K-3D</a></h2>
<img class="project-logo" src="../../img/projects/k3d.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/k3d.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -320,7 +321,7 @@ professional artists.</p>
<h2><a href="https://kallithea-scm.org/">Kallithea</a></h2>
<img class="project-logo" src="../../img/projects/kallithea.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/kallithea.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -335,7 +336,7 @@ version control system of your choice.</p>
<h2><a href="http://librehealth.io/">LibreHealth</a></h2>
<img class="project-logo" src="../../img/projects/librehealth.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/librehealth.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -370,7 +371,7 @@ Linux XIA's speed and flexibility.</p>
<h2><a href="https://www.mercurial-scm.org/">Mercurial</a></h2>
<img class="project-logo" src="../../img/projects/mercurial.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/mercurial.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -388,7 +389,7 @@ Public License.</p>
<h2><a href="http://www.metalinker.org/">Metalink</a></h2>
<img class="project-logo" src="../../img/projects/metalink.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/metalink.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -406,7 +407,7 @@ or safety.</p>
<h2><a href="http://microblocks.fun/">MicroBlocks</a></h2>
<img class="project-logo" src="/img/projects/microblocks.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/microblocks.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -418,7 +419,7 @@ or safety.</p>
<h2><a href="https://www.northbaypython.org/">North Bay Python</a></h2>
<img class="project-logo" src="../../img/projects/north-bay-python.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/north-bay-python.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -432,7 +433,7 @@ students interested in the Python programming language.</p>
<h2><a href="http://www.opentripplanner.org/">OpenTripPlanner</a></h2>
<img class="project-logo" src="../../img/projects/opentripplanner.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/opentripplanner.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -451,7 +452,7 @@ transportation analysis, including measures of mobility and accessibility.</p>
<h2 id="OpenWrt"><a href="https://openwrt.org/">OpenWrt</a></h2>
<img class="project-logo" src="../../img/projects/openwrt-2020.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/openwrt-2020.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
@ -471,7 +472,7 @@ never envisioned.</p>
<h2><a href="https://www.outreachy.org/">Outreachy</a></h2>
<img class="project-logo" src="../../img/projects/outreachy.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/outreachy.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -487,7 +488,7 @@ internship opportunities twice a year with many free software organizations.
<h2><a href="https://phpmyadmin.net/">phpMyAdmin</a></h2>
<img class="project-logo" src="../../img/projects/phpmyadmin.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/phpmyadmin.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -508,7 +509,7 @@ seventy languages.</p>
<h2><a href="http://qemu.org">QEMU</a></h2>
<img class="project-logo" src="../../img/projects/qemu.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/qemu.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -529,7 +530,7 @@ seventy languages.</p>
<h2><a href="https://racket-lang.org">Racket</a></h2>
<img class="project-logo" src="../../img/projects/racket.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/racket.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -543,7 +544,7 @@ or use one of the dozens already available.</p>
<h2><a href="https://reproducible-builds.org">Reproducible Builds</a></h2>
<img class="project-logo" src="../../img/projects/2018-10_Reproducible-Builds.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/2018-10_Reproducible-Builds.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -558,7 +559,7 @@ whistleblowers, or anyone wishing to communicate securely under a repressive reg
<h2><a href="https://www.samba.org/samba/">Samba</a></h2>
<img class="project-logo" src="../../img/projects/samba.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/samba.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -585,7 +586,7 @@ of systems, and equipment. Samba is released under the GPL.</p>
<h2><a href="http://seleniumhq.org">Selenium</a></h2>
<img class="project-logo" src="../../img/projects/selenium.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/selenium.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -609,7 +610,7 @@ Safari and Opera.</p>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
<img class="project-logo" src="../../img/projects/sourceware.svg" alt="copyleft logo" />
<img class="project-logo" src="{% static 'img/projects/sourceware.svg' %}" alt="copyleft logo" />
<p>Sourceware is a Free Software hosting project for toolchain and
developer tools. Free Software needs Free Infrastructure. It is
@ -618,7 +619,7 @@ projects.</p>
<h2><a href="http://squeak.org/">Squeak</a></h2>
<img class="project-logo" src="../../img/projects/squeak.svg" alt="" />
<img class="project-logo" src="{% static 'img/projects/squeak.svg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -635,7 +636,7 @@ educational platforms to commercial web application development.</p>
<h2><a href="http://surveyos.sourceforge.net/">SurveyOS</a></h2>
<img class="project-logo" src="../../img/projects/surveyos.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/surveyos.png' %}" alt="" />
<p>The Survey Open Source (SurveyOS) Project is a non-profit project of
the Software Freedom Conservancy dedicated to fostering cooperation
@ -648,7 +649,7 @@ functionality to other software.</p>
<h2><a href="http://www.swig.org/">SWIG</a></h2>
<img class="project-logo" src="../../img/projects/swig.jpg" alt="" />
<img class="project-logo" src="{% static 'img/projects/swig.jpg' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -667,7 +668,7 @@ C/C++ software.</p>
<h2><a href="http://teachingopensource.org/">Teaching Open Source</a></h2>
<img class="project-logo" src="../../img/projects/teaching-open-source.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/teaching-open-source.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -683,7 +684,7 @@ both academia and FLOSS projects.</p>
<h2><a href="http://www.winehq.org/">Wine</a></h2>
<img class="project-logo" src="../../img/projects/wine.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/wine.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
@ -703,7 +704,7 @@ x86-based Unixes, including Linux, Mac OS X, FreeBSD, and Solaris.</p>
<h2><a href="https://xapian.org/">Xapian</a></h2>
<img class="project-logo" src="../../img/projects/xapian.png" alt="" />
<img class="project-logo" src="{% static 'img/projects/xapian.png' %}" alt="" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">

View file

@ -73,7 +73,7 @@ community-focused free software and help us be able to continue our
charitable work. Donating to Conservancy is a great non-technical way to
contribute to the cause.</p>
<img alt="*** The Conservancy T-Shirt that Supporters Receive ***" class="appeal" src="/img/conservancy-t-shirt.jpg"/>
<img alt="*** The Conservancy T-Shirt that Supporters Receive ***" class="appeal" src="{% static 'img/conservancy-t-shirt.jpg' %}"/>
<p>For the first time, we're launching a Supporter
program. For <a href="#donate-box" class="donate-now">an annual donation of $120</a>, you can
@ -112,7 +112,7 @@ of dollars in licensing fees for subpar accounting software.</li>
discusses important legal and policy issues in open source and free
software.</li></ul>
<img class="appeal-footer" alt="*" src="/img/conservancy-supporter-heart.png"/>
<img class="appeal-footer" alt="*" src="{% static 'img/conservancy-supporter-heart.png' %}"/>
<p>As an organization, we try to do everything transparently; even
our
@ -172,7 +172,7 @@ internal policies</a> are published and available for scrutiny.</p>
<br /></div>
<div id="annual" class="supporter-form-submit">
<input type="image"
src="/img/supporter-payment-button-annual.png"
src="{% static 'img/supporter-payment-button-annual.png' %}"
height="81" width="188"
border="0" name="submit" alt="Become an Annual Supporter Now!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
@ -233,7 +233,7 @@ internal policies</a> are published and available for scrutiny.</p>
<br /></div>
<div id="monthly" class="supporter-form-submit">
<input type="image"
src="/img/supporter-payment-button-monthly.png"
src="{% static 'img/supporter-payment-button-monthly.png' %}"
height="81" width="188"
border="0" name="submit" alt="Become a Monthly Supporter Now!">
<br/><br/><small>Button above redirects to PayPal's site for credit

View file

@ -1,4 +1,5 @@
{% extends "base_conservancy.html" %}
{% load static %}
{% block subtitle %}Thanks for Your Support - {% endblock %}
{% block category %}sustainer{% endblock %}
@ -24,18 +25,18 @@ special Sustainer-only benefits in the coming year.</p>
a &ldquo;Sustainer Badge&rdquo; on your website, social media, or
other locations where people view information about you:</p>
<p><a href="https://sfconservancy.org/sustainer/"><img src="https://sfconservancy.org/img/supporter-badge.png" width="194" height="90" alt="Become a Conservancy Sustainer!" border="0"/></a></p>
<p><a href="https://sfconservancy.org/sustainer/"><img src="https://sfconservancy.org/static/img/supporter-badge.png" width="194" height="90" alt="Become a Conservancy Sustainer!" border="0"/></a></p>
<p><strong>Copy and paste this HTML for the image above:</strong></p>
<p><textarea rows="2"
cols="65">
<a href="https://sfconservancy.org/sustainer/"><img src="https://sfconservancy.org/img/supporter-badge.png" width="194" height="90" alt="Become a Conservancy Sustainer!" border="0"/></a>
<a href="https://sfconservancy.org/sustainer/"><img src="https://sfconservancy.org/static/img/supporter-badge.png" width="194" height="90" alt="Become a Conservancy Sustainer!" border="0"/></a>
</textarea></p>
<p>Also, please enjoy these &ldquo;Sustainer Cards&rdquo;, which you print out and
carry with you. You've earned it! The cards are available in two different
styles: <a href="/img/supporter-card-1.svg">Style 1
(SVG)</a>, <a href="/img/supporter-card-2.svg">Style 2
styles: <a href="{% static 'img/supporter-card-1.svg' %}">Style 1
(SVG)</a>, <a href="{% static 'img/supporter-card-2.svg' %}">Style 2
(SVG)</a>.</p>
{% endblock %}

View file

@ -26,7 +26,7 @@
<div class="w-60-ns">
<h1 id="conservancyheader" class="mt2 mt3-ns mb2 mb3-ns">
<a href="/">
<img src="/img/conservancy-header.svg" alt="Software Freedom Conservancy" class="db center mh3-ns" />
<img src="{% static 'img/conservancy-header.svg' %}" alt="Software Freedom Conservancy" class="db center mh3-ns" />
</a>
</h1>
</div>

View file

@ -1,8 +1,9 @@
{% extends "base_blog.html" %}
{% load static %}
{% block head %}
{% include "opengraph_partial.html" with url=object.get_absolute_url title=object.headline description=object.get_description %}
{% include "opengraph_urllist_partial.html" with property='image' urls=object.get_one_image_url fallback='/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='image' urls=object.get_one_image_url fallback='/static/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='video' urls=object.get_one_video_url %}
{% endblock %}

View file

@ -1,4 +1,6 @@
{% extends "base_blog.html" %}
{% load static %}
{% block subtitle %}Conservancy Blog - {% endblock %}
{% block content %}
@ -6,7 +8,7 @@
<p><a href="/">Home</a> / <a href="/news/">News</a></p>
</div>
<h2><a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> Conservancy Blog{% if author %} &mdash; {{ author.formal_name }}{% endif %}</h2>
<h2><a href="/feeds/blog/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> Conservancy Blog{% if author %} &mdash; {{ author.formal_name }}{% endif %}</h2>
{% if authors or tags %}
<p>Displaying posts

View file

@ -52,15 +52,15 @@ strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">
<div class="w-70-ns mh2">
<section class="mh0 pa3 bg-light-blue ba b--gray">
<p><video style="width: 95%; height: auto;" controls="" poster="/videos/sfc-introduction-video_poster.jpg">
<source src="/videos/sfc-introduction_1080p.mp4" />
<track src="/docs/sfc-introduction-vtt-captions.txt" kind="subtitles" srclang="en" label="English" />
<a href="/videos/sfc-introduction_1080p.mp4"><img src="/videos/sfc-introduction-video_poster.jpg" alt="Software Freedom Conservancy introduction video"></a><br/>
<source src="{% static 'videos/sfc-introduction_1080p.mp4' %}" />
<track src="{% static 'docs/sfc-introduction-vtt-captions.txt' %}" kind="subtitles" srclang="en" label="English" />
<a href="/videos/sfc-introduction_1080p.mp4"><img src="{% static 'videos/sfc-introduction-video_poster.jpg' %}" alt="Software Freedom Conservancy introduction video"></a><br/>
<a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a>
</video></p>
</section>
<section class="mv3 ph2">
<h2 class="f4 mt0 mb2 ttu"><!--<a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a>--> <a href="/news/" class="dark-gray">News</a></h2>
<h2 class="f4 mt0 mb2 ttu"><!--<a href="/feeds/news/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a>--> <a href="/news/" class="dark-gray">News</a></h2>
{% for pressr in press_releases|slice:":4" %}
{% if forloop.first %}
{% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %}
@ -73,7 +73,7 @@ strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">
</section>
<section class="mt4 mb3 ph2">
<h2 class="f4 mb2 ttu"><!-- <a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> --> <a href="/blog/" class="dark-gray">Articles</a></h2>
<h2 class="f4 mb2 ttu"><!-- <a href="/feeds/blog/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> --> <a href="/blog/" class="dark-gray">Articles</a></h2>
{% for entry in blog|slice:":5" %}
{% if forloop.first or entry.pub_date|date_within_past_days:180 %}
{% if not forloop.first %}<hr class="clear">{% endif %}

View file

@ -1,8 +1,9 @@
{% extends "base_news.html" %}
{% load static %}
{% block head %}
{% include "opengraph_partial.html" with url=object.get_absolute_url title=object.headline description=object.get_description %}
{% include "opengraph_urllist_partial.html" with property='image' urls=object.get_one_image_url fallback='/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='image' urls=object.get_one_image_url fallback='/static/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='video' urls=object.get_one_video_url %}
{% endblock %}

View file

@ -1,4 +1,6 @@
{% extends "base_news.html" %}
{% load static %}
{% block subtitle %}News - {% endblock %}
{% block outercontent %}
@ -7,7 +9,7 @@
<div class="breadcrumbs">
<p><a href="/">Home</a> / <a href="/news/">News</a></p>
</div>
<h1><a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> Conservancy News</h1>
<h1><a href="/feeds/news/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> Conservancy News</h1>
{% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %}

View file

@ -1,4 +1,6 @@
{% extends "base_conservancy.html" %}
{% load static %}
{% block subtitle %}Sponsors - {% endblock %}
{% block category %}sponsors{% endblock %}
{% block head %}
@ -28,17 +30,17 @@ any of its sponsors.</p>
<!-- logos should be 250x250 maximum. -->
<ul id="sponsor">
<li></li>
<li><a rel="nofollow" href="https://www.ampr.org"><img src="/img/sponsors/ardc.svg" width="250" alt="Amateur Radio Digital Communications" /></a></li>
<li><a rel="nofollow" href="https://www.codeweavers.com/"><img src="/img/sponsors/codeweavers.png" width="250" alt="CodeWeavers" /></a></li>
<li><a rel="nofollow" href="https://google.com"><img src="/img/sponsors/google.png" height="76" width="238" alt="Google" /></a></li>
<li><a rel="nofollow" href="https://www.ampr.org"><img src="{% static 'img/sponsors/ardc.svg' %}" width="250" alt="Amateur Radio Digital Communications" /></a></li>
<li><a rel="nofollow" href="https://www.codeweavers.com/"><img src="{% static 'img/sponsors/codeweavers.png' %}" width="250" alt="CodeWeavers" /></a></li>
<li><a rel="nofollow" href="https://google.com"><img src="{% static 'img/sponsors/google.png' %}" height="76" width="238" alt="Google" /></a></li>
<li><b>Christoph Hellwig</b></li>
<li><a rel="nofollow" href="https://ifixit.com"><img src="/img/sponsors/ifixit.png" width="250" alt="iFixit" /></a></li>
<li><a rel="nofollow" href="https://ifixit.com"><img src="{% static 'img/sponsors/ifixit.png' %}" width="250" alt="iFixit" /></a></li>
<li><b>hmk</b></li>
<li><a rel="nofollow" href="https://indeed.com"><img src="/img/sponsors/indeed.png" height="69" width="250" alt="Indeed" /></a></li>
<li><a rel="nofollow" href="https://jmp.chat"><img src="/img/sponsors/jmp.svg" height="244" width="250" alt="jmp.chat" /></a></li>
<li><a rel="nofollow" href="https://indeed.com"><img src="{% static 'img/sponsors/indeed.png' %}" height="69" width="250" alt="Indeed" /></a></li>
<li><a rel="nofollow" href="https://jmp.chat"><img src="{% static 'img/sponsors/jmp.svg' %}" height="244" width="250" alt="jmp.chat" /></a></li>
<li><b>Marcus Ryu</b></li>
<li><a rel="nofollow" href="https://code.wildebeest.org/">Mark Wielaard</a></li>
<li><a rel="nofollow" href="https://www.mozilla.org/foundation/"><img src="/img/sponsors/mozilla.png" height="101" width="250" alt="Mozilla Foundation" /></a></li>
<li><a rel="nofollow" href="https://www.mozilla.org/foundation/"><img src="{% static 'img/sponsors/mozilla.png' %}" height="101" width="250" alt="Mozilla Foundation" /></a></li>
<li><b>David Turner and Danielle Sucher</b></li>
</ul>

View file

@ -1,4 +1,6 @@
{% extends "base_conservancy.html" %}
{% load static %}
{% block subtitle %}Sustainer Banners - {% endblock %}
{% block category %}sustainer{% endblock %}
@ -13,7 +15,7 @@
<pre><code> &lt;div style="margin: 0 auto; max-width: 1200px;"&gt;
&lt;a href="https://sfconservancy.org/sustainer"&gt;
&lt;img style="width: 100%;"
src="https://sfconservancy.org/img/banners/2019-individuals-banner.png"
src="https://sfconservancy.org/static/img/banners/2019-individuals-banner.png"
alt="Conservancy is a proponent for community driven free software projects.
Will you join me in supporting them? Donate today!"&gt;
&lt;/a&gt;
@ -23,7 +25,7 @@
<div style="margin: 0 auto; max-width: 1200px;">
<a href="https://sfconservancy.org/sustainer">
<img style="width: 100%;"
src="/img/banners/2019-individuals-banner.png"
src="/static/img/banners/2019-individuals-banner.png"
alt="Conservancy is a proponent for community driven free software projects.
Will you join me in supporting them? Donate today!">
</a>
@ -34,7 +36,7 @@
<pre><code> &lt;div style="margin: 0 auto; max-width: 1200px;"&gt;
&lt;a href="https://sfconservancy.org/sustainer"&gt;
&lt;img style="width: 100%;"
src="https://sfconservancy.org/img/banners/2019-member-projects-banner.png"
src="https://sfconservancy.org/static/img/banners/2019-member-projects-banner.png"
alt="Conservancy helps make our work possible.
Please donate to them today to support community-driven free software projects!"
&lt;/a&gt;
@ -44,7 +46,7 @@
<div style="margin: 0 auto; max-width: 1200px;">
<a href="https://sfconservancy.org/sustainer">
<img style="width: 100%;"
src="/img/banners/2019-member-projects-banner.png"
src="/static/img/banners/2019-member-projects-banner.png"
alt="Conservancy helps make our work possible.
Please donate to them today to support community-driven free software projects!"
</a>

View file

@ -7,7 +7,7 @@
<script type="text/javascript" src="{% static 'js/supporter-page.js' %}"></script>
<link href="{% static 'css/forms.css' %}" rel="stylesheet" type="text/css"/>
{% include "opengraph_partial.html" with url="/sustainer/" title="Support Conservancy!" description="Software freedom is critical to many of today&rsquo;s most pressing social issues, but it&rsquo;s only effective when FOSS is for everyone. Support Conservancy today to help make that happen!" %}
{% include "opengraph_urllist_partial.html" with property='image' urls='' fallback='/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='image' urls='' fallback='/static/img/conservancy-logo.png' %}
{% endblock %}
{% block content %}
@ -40,7 +40,7 @@
<span id="form-correction-needed" class="form-error">Please ensure all form data above is correct.</span>
<div style="overflow: auto; text-align: center;">
<a href="/img/tshirt-2023.png"><img src="/img/tshirt-2023.png" height="300"/></a>
<a href="/img/tshirt-2023.png"><img src="{% static 'img/tshirt-2023.png' %}" height="300"/></a>
</div>
</p>
@ -58,9 +58,9 @@
a Sustainer:
<p style="text-align:center;">
<video style="width: 50%; height: auto;" controls="" poster="/videos/sfc-introduction-video_poster.jpg">
<source src="/videos/sfc-introduction_1080p.mp4" />
<track src="/docs/sfc-introduction-vtt-captions.txt" kind="subtitles" srclang="en" label="English" />
<a href="/videos/sfc-introduction_1080p.mp4"><img src="/videos/sfc-introduction-video_poster.jpg"
<source src="{% static 'videos/sfc-introduction_1080p.mp4' %}" />
<track src="{% static 'docs/sfc-introduction-vtt-captions.txt' %}" kind="subtitles" srclang="en" label="English" />
<a href="/videos/sfc-introduction_1080p.mp4"><img src="{% static 'videos/sfc-introduction-video_poster.jpg' %}"
alt="Software Freedom Conservancy introduction video"></a><br/>
<a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a>
</video></p>
@ -180,9 +180,9 @@ In November she spoke at <a href="https://www.sfscon.it/talks/the-history-of-and
<div class="picture-small right">
<video class="small-right" controls="" poster="/videos/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate_still.png" id="doctorate_vid">
<source src="/videos/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.mp4">
<track src="/docs/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.en.txt" kind="subtitles" srclang="en" label="English" />
<track src="/docs/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.nl.txt" kind="subtitles" srclang="nl" label="Dutch (NL)" />
<source src="{% static 'videos/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.mp4' %}">
<track src="{% static 'docs/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.en.txt' %}" kind="subtitles" srclang="en" label="English" />
<track src="{% static 'docs/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.nl.txt' %}" kind="subtitles" srclang="nl" label="Dutch (NL)" />
</video>
<p><a href="/videos/2023-02-02_Sandler-Karen_KU-Leuven_Honorary-Doctorate.mp4">Download Karen's talk</a>
or <a href="https://youtu.be/zca7dOU7jfs">watch on YouTube</a></p>
@ -222,7 +222,7 @@ software projects. Part of the unique position of our organization is the
expertise necessary to do this kind of work.</p>
<div class="picture-small right">
<img class="small-right" src="/img/outreachy-nigeria-1000-celebration.png"
<img class="small-right" src="{% static 'img/outreachy-nigeria-1000-celebration.png' %}"
alt="Group Picture: Outreachy interns, mentors, and community coordinators gathered to celebrate the 1,000 interns milestone in Lagos, Nigeria." />
<p>Group Picture: Outreachy interns, mentors, and community coordinators gathered to celebrate the 1,000 interns milestone in Lagos, Nigeria.</p>
<p>You can view a <a href="https://diode.zone/w/p/25ifUPw9Lx42nrb14h41Ru">video of the celebration here.</a></p>
@ -283,7 +283,7 @@ reach for reproducibility. </p>
<h3 id="HelpUs">Help us Continue this Work</h3>
<div style="overflow: auto">
<div class="picture-small right">
<img src="/img/scaled-LLW-2015-Conservancy-Supporters-by-Carlo-Piana-CC-0.jpg" alt="Zack, Karen, John and Jim pose, mostly wearing the vintage t-shirt!" />
<img src="{% static 'img/scaled-LLW-2015-Conservancy-Supporters-by-Carlo-Piana-CC-0.jpg' %}" alt="Zack, Karen, John and Jim pose, mostly wearing the vintage t-shirt!" />
<p>Sustainers pose with Karen! <br/>From left: Stefano &ldquo;Zack&rdquo; Zacchiroli, Karen M. Sandler, John Sullivan, and Jim Wright</p>
</div>

View file

@ -28,8 +28,6 @@ from .static import views as static_views
admin.autodiscover()
urlpatterns = [
# Uncomment these 3 lines when testing locally to get static content
url(r'^img', static_views.index),
url(r'^$', frontpage.view),
url(r'^sponsors$', frontpage.view),
url(r'^sponsors/$', sponsors.view),

View file

@ -1,4 +1,5 @@
{% extends "usethesource/base.html" %}
{% load static %}
{% block title %}Use The Source - Software Freedom Conservancy{% endblock %}
@ -15,11 +16,11 @@
<p>We are providing a 30-day window, starting on February 3, 2024 (and ending at 23:59 <abbr title="Anywhere on Earth">AoE</abbr> on March 4, 2024), in which companies can send us the email address of their CCIRT (to <a href="mailto:compliance@sfconservancy.org">compliance@sfconservancy.org</a> with Subject "CCIRT contact") so we can contact this team about any source candidates we receive, giving them 7 calendar days to confirm all potential copyleft licenses issues are resolved. At the end of these 7 days, we will publish the updated source candidate (if we receive one), or the original (if no update is received). If we have no contact registered, the source candidate will be published without any grace period following the initial 30-day window.</p>
<p><img src="/img/ccirt-initial.png" alt="initial CCIRT process, showing 30-day and 7-day windows" /></p>
<p><img src="{% static 'img/ccirt-initial.png' %}" alt="initial CCIRT process, showing 30-day and 7-day windows" /></p>
<p>After this initial 30-day window, companies can still send us the email address of their CCIRT and, after we receive this email address, we will give them 7 calendar days from the first notification of an incomplete source candidate to resolve the issue. However, it is best for companies to let us know about their CCIRT before this 30-day window ends in case there are any pending source candidates to publish when that 30-day window ends. The process after these 30 days is as follows:</p>
<p><img src="/img/ccirt-ongoing.png" alt="ongoing CCIRT process, showing standard 7-day window" /></p>
<p><img src="{% static 'img/ccirt-ongoing.png' %}" alt="ongoing CCIRT process, showing standard 7-day window" /></p>
<p>For the avoidance of doubt, and to hopefully prevent a wave of last-minute CCIRT submissions on the final day of this 30-day window, SFC is providing for 7 calendar days after the 30-day window ends (so 37 days from February 3, or until 23:59 <abbr title="Anywhere on Earth">AoE</abbr> on March 11, 2024), to any company that provides the email address of their CCIRT at any time during this 30-day window, the option to correct its source candidates before we publish them. So it is beneficial for companies to inform us of their CCIRT sooner rather than later, so they have as much of that 37 days as possible to correct all copyleft compliance issues. SFC looks forward to working with all the CCIRTs who register with us.</p>