You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

60 lines
2.3 KiB

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