Move "bits" templates with dashes in them to underscores
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 22 May 2013 21:44:50 +0000 (16:44 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 22 May 2013 21:44:50 +0000 (16:44 -0500)
Moved all references and also added a note to our release notes.

This commit sponsored by Juan Rodriguez.  Thank you!

docs/source/siteadmin/relnotes.rst
mediagoblin/templates/mediagoblin/base.html
mediagoblin/templates/mediagoblin/bits/above_content.html [moved from mediagoblin/templates/mediagoblin/bits/above-content.html with 100% similarity]
mediagoblin/templates/mediagoblin/bits/body_end.html [moved from mediagoblin/templates/mediagoblin/bits/body-end.html with 100% similarity]
mediagoblin/templates/mediagoblin/bits/body_start.html [moved from mediagoblin/templates/mediagoblin/bits/body-start.html with 100% similarity]

index 04863ec64ca6d54c4fddec39a45f4fc9db92ed33..5d342ef1bab73c59dbd45c330142f9db1abba0c5 100644 (file)
@@ -19,6 +19,22 @@ This chapter has important information for releases in it.
 If you're upgrading from a previous release, please read it
 carefully, or at least skim over it.
 
+0.4.0
+=====
+
+**For theme authors**
+
+If you have your own theme or you have any "user modified templates",
+please note the following:
+
+* mediagoblin/bits/ files above-content.html, body-end.html,
+  body-start.html now are renamed... they have underscores instead of
+  dashes in the filenames now :)
+* There's a new file: ``mediagoblin/bits/frontpage_welcome.html``.
+  You can easily customize this to give a welcome page appropriate to
+  your site.
+
+
 0.3.3
 =====
 
index 9c42a7567d0956d9450e586e087c2de50eb7b3b8..5e2898f9602b7343038cec48e21f21eb46ae0e1f 100644 (file)
@@ -48,7 +48,7 @@
     {% endblock mediagoblin_head %}
   </head>
   <body>
-    {% include 'mediagoblin/bits/body-start.html' %}
+    {% include 'mediagoblin/bits/body_start.html' %}
     {% block mediagoblin_body %}
       {% block mediagoblin_header %}
         <header>
         </header>
       {% endblock %}
       <div class="container">
-        {% include 'mediagoblin/bits/above-content.html' %}
+        {% include 'mediagoblin/bits/above_content.html' %}
         <div class="mediagoblin_content">
           {% include "mediagoblin/utils/messages.html" %}
           {% block mediagoblin_content %}
         {%- endblock mediagoblin_footer %}
       </div>
     {%- endblock mediagoblin_body %}
-    {% include 'mediagoblin/bits/body-end.html' %}
+    {% include 'mediagoblin/bits/body_end.html' %}
   </body>
 </html>