Move "bits" templates with dashes in them to underscores

Moved all references and also added a note to our release notes.

This commit sponsored by Juan Rodriguez.  Thank you!
This commit is contained in:
Christopher Allan Webber 2013-05-22 16:44:50 -05:00
parent ae9eca1bf2
commit 8ca51d32b6
5 changed files with 19 additions and 3 deletions

View 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 If you're upgrading from a previous release, please read it
carefully, or at least skim over 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 0.3.3
===== =====

View File

@ -48,7 +48,7 @@
{% endblock mediagoblin_head %} {% endblock mediagoblin_head %}
</head> </head>
<body> <body>
{% include 'mediagoblin/bits/body-start.html' %} {% include 'mediagoblin/bits/body_start.html' %}
{% block mediagoblin_body %} {% block mediagoblin_body %}
{% block mediagoblin_header %} {% block mediagoblin_header %}
<header> <header>
@ -114,7 +114,7 @@
</header> </header>
{% endblock %} {% endblock %}
<div class="container"> <div class="container">
{% include 'mediagoblin/bits/above-content.html' %} {% include 'mediagoblin/bits/above_content.html' %}
<div class="mediagoblin_content"> <div class="mediagoblin_content">
{% include "mediagoblin/utils/messages.html" %} {% include "mediagoblin/utils/messages.html" %}
{% block mediagoblin_content %} {% block mediagoblin_content %}
@ -132,6 +132,6 @@
{%- endblock mediagoblin_footer %} {%- endblock mediagoblin_footer %}
</div> </div>
{%- endblock mediagoblin_body %} {%- endblock mediagoblin_body %}
{% include 'mediagoblin/bits/body-end.html' %} {% include 'mediagoblin/bits/body_end.html' %}
</body> </body>
</html> </html>