Changeset - 663611920086
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-07-22 00:37:56
ben@sturm.com.au
Use {% static %} for home page video subtitles
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -31,49 +31,49 @@
 
    <p class="mb0" style="font-size: 18px">Software Freedom Conservancy is a nonprofit organization
 
centered around ethical technology. Our mission is to ensure the right to
 
repair, improve and reinstall software. We promote and defend these rights
 
through fostering free and open source software (FOSS) projects, driving
 
initiatives that actively make technology more inclusive, and advancing policy
 
strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">Learn more.</a></p>
 
  </section>
 
  <section class="w-30-ns mh2 pa3 bg-light-blue ba b--gray">
 
    <h2 class="f4 ttu">Use The Source!</h2>
 
    <p>SFC recently launched <a href="/usethesource/">a new software right to repair tool</a>,
 
    which lets you submit and comment on source candidates that device manufacturers are
 
    required to give you.  With your help, we can find and improve the source candidates for
 
    your devices, so you can fix, modify, and improve your devices as their software authors
 
    intended!
 
     <a href="/usethesource/" class="f5 dib pa2 ttu b
 
    btn-orange">Check it out!</a>
 
  </section>
 
</div>
 

	
 
<div class="mt3 mh2-ns mb4 flex-ns">
 
  <div class="w-70-ns mh2">
 
<section class="mh0 pa3 bg-light-blue ba b--gray">
 
<video style="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" />
 
<track src="{% static '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/>
 
<a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a>
 
</video>
 
 </section>
 

	
 
    <section class="mv3 ph2">
 
<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 %}
 
  {% else %}
 
    {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %}
 
  {% endif %}
 
{% endfor %}
 

	
 
<!-- <p><span class="continued"><a href="/news/">Conservancy News Archive&hellip;</a></span></p> -->
 
</section>
 

	
 
<section class="mt4 mb3 ph2">
 
<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 %}
 
    {% include "blog/entry_partial.html" with entry=entry show="dateline" only %}
0 comments (0 inline, 0 general)