2 # MediaGoblin for LibrePlanet
3 # Copyright (C)
2011,
2012 MediaGoblin contributors
4 # Copyright (C)
2015 David Thompson
<davet@gnu.org
>
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU Affero General Public License as published by
8 # the Free Software Foundation, either version
3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details.
16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see
<http://www.gnu.org/licenses
/>.
19 {% extends
"mediagoblin/base.html" %}
21 {% from
"mediagoblin/utils/object_gallery.html" import media_grid %}
23 {% set feed_url = request.urlgen('mediagoblin.listings.atom_feed') %}
25 {% block mediagoblin_head -%}
26 {% set feed_url = request.urlgen('mediagoblin.listings.atom_feed') -%}
27 <link rel=
"alternate" type=
"application/atom+xml" href=
"{{ feed_url }}">
28 {%- endblock mediagoblin_head %}
30 {% block mediagoblin_content %}
31 <h1>{% trans %}LibrePlanet{% endtrans %}
</h1>
32 <img class=
"right_align" src=
"//static.fsf.org/nosvn/libreplanet/2015/graphical_assets/lp-logo-for-gmg.svg" />
34 {% trans %}The videos on this site were recorded during
35 <a href=
"http://libreplanet.org">LibrePlanet
</a>, an annual
36 conference for free software enthusiasts held by the Free
37 Software Foundation in Cambridge, MA. This site is running
38 <a href=
"http://mediagoblin.org">MediaGoblin
</a>, a great piece
39 of free media hosting software.{% endtrans %}
41 <div class=
"clear"></div>
43 <h2>{% trans %}Videos{% endtrans %}
</h2>
44 {{ media_grid(request, videos) }}
45 <div class=
"clear"></div>
47 <a href=
"/videos">View all LibrePlanet videos
</a>
50 <h2>{% trans %}Photos{% endtrans %}
</h2>
51 {{ media_grid(request, images) }}
52 <div class=
"clear"></div>
54 <a href=
"/photos">View all LibrePlanet photos
</a>
57 {#- Need to set feed_url within this block so template can use it. -#}
58 {%- set feed_url = feed_url -%}
59 {%- include
"mediagoblin/utils/feed_link.html" -%}