From: Elrond Date: Sun, 26 May 2013 11:29:02 +0000 (+0200) Subject: Extract footer into bits/base_footer.html. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=199685831d3f570104a8aa481198eb21fa687cc7;p=mediagoblin.git Extract footer into bits/base_footer.html. --- diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 5e2898f9..6c7c07d0 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -120,16 +120,7 @@ {% block mediagoblin_content %} {% endblock mediagoblin_content %} - {%- block mediagoblin_footer %} - - {%- endblock mediagoblin_footer %} + {%- include "mediagoblin/bits/base_footer.html" %} {%- endblock mediagoblin_body %} {% include 'mediagoblin/bits/body_end.html' %} diff --git a/mediagoblin/templates/mediagoblin/bits/base_footer.html b/mediagoblin/templates/mediagoblin/bits/base_footer.html new file mode 100644 index 00000000..80cd41b0 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/bits/base_footer.html @@ -0,0 +1,28 @@ +{# +# GNU MediaGoblin -- federated, autonomous media hosting +# Copyright (C) 2011-2013 MediaGoblin contributors. See AUTHORS. +# +# 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 . +#} + +{%- block mediagoblin_footer %} + +{%- endblock mediagoblin_footer -%}