Provide a source link so we can comply with the AGPL

This commit is contained in:
Christopher Allan Webber 2012-03-14 12:38:55 -05:00
parent 19e67f5955
commit ff6933fa4c
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,9 @@
# HTML title of the pages
html_title = string(default="GNU MediaGoblin")
# link to source for this MediaGoblin site
source_link = string(default="https://gitorious.org/mediagoblin/mediagoblin")
# Enabled media types
media_types = string_list(default=list("mediagoblin.media_types.image"))

View File

@ -81,8 +81,9 @@
</div>
{% block mediagoblin_footer %}
<footer>
{% trans -%}
Powered by <a href="http://mediagoblin.org">MediaGoblin</a>, a <a href="http://gnu.org/">GNU</a> project
{% trans source_link=app_config['source_link'] -%}
Powered by <a href="http://mediagoblin.org">MediaGoblin</a>, a <a href="http://gnu.org/">GNU</a> project.<br />
Released under the <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPL</a>. (<a href="{{ source_link }}">sourcecode</a>)
{%- endtrans %}
</footer>
{% endblock mediagoblin_footer %}