Commits

David Chambers committed 884923a

Changed single quotes to double quotes.

Comments (0)

Files changed (15)

templates/404.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% block title %}404: Page not found{% endblock %}
 {% block content %}
 				<h1>404: Page not found</h1>

templates/500.html

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% block title %}500: Server error{% endblock %}
 {% block content %}
 				<h1>500: Server error</h1>

templates/archives.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block title %}Archives{% endblock %}
 {% block content %}

templates/base.dhtml

-{% extends '_base.dhtml' %}
+{% extends "_base.dhtml" %}
 {% block scripts %}
 {{ block.super }}
 	<script type="text/javascript">

templates/category.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block title %}{{ category.name|smart_capfirst }}{% endblock %}
 {% block content %}
 			<h1>{{ category.name|smart_capfirst }}</h1>
 			{% if category.pages %}
-			<h2>Pages</h2>{% for document in category.pages %}{% include 'excerpt.dhtml' %}{% endfor %}{% endif %}
+			<h2>Pages</h2>{% for document in category.pages %}{% include "excerpt.dhtml" %}{% endfor %}{% endif %}
 			{% if category.posts %}
-			<h2>Posts</h2>{% for document in category.posts %}{% include 'excerpt.dhtml' %}{% endfor %}{% endif %}
+			<h2>Posts</h2>{% for document in category.posts %}{% include "excerpt.dhtml" %}{% endfor %}{% endif %}
 			{% if category.subcategories %}
 			<h2>Subcategor{{ category.subcategories|length|pluralize:"y,ies" }}</h2>
 			<ol id="subcategories">{% for subcategory in category.subcategories %}

templates/contact.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% block title %}Contact{% endblock %}
 {% block content %}
 			<h1>Contact</h1>{% if form %}

templates/document.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block title %}{{ document.title_text }}{% endblock %}
 {% block content %}
 						</ol>{% endif %}
 					</footer>{% endif %}{% endwith %}{% endwith %}
 {% block comments %}{% if comments or new_comment %}
-					{% block comments_heading %}<h2 id="comments">Comments</h2>{% endblock %}{% for comment in comments %}{% include 'comment.dhtml' %}{% endfor %}{% if new_comment %}{{ new_comment }}{% if COMMENTS_REQUIRE_APPROVAL %}
+					{% block comments_heading %}<h2 id="comments">Comments</h2>{% endblock %}{% for comment in comments %}{% include "comment.dhtml" %}{% endfor %}{% if new_comment %}{{ new_comment }}{% if COMMENTS_REQUIRE_APPROVAL %}
 					<p><strong>Your comment is awaiting moderation.</strong></p>{% endif %}{% endif %}{% endif %}{% if thread.allow_comments %}
 					{% block respond_heading %}<h3 id="respond">Respond</h3>{% endblock %}
 					{{ form.non_field_errors }}

templates/email/subscriber.dhtml

 {% load mango_extras %}
-<p><strong>{% filter force_escape %}{% firstof comment|author_name 'An anonymous author' %}{% endfilter %}</strong> has commented on <a href="{{ comment.thread.url }}">{{ comment.thread.title }}</a>:</p>
+<p><strong>{% filter force_escape %}{% firstof comment|author_name "An anonymous author" %}{% endfilter %}</strong> has commented on <a href="{{ comment.thread.url }}">{{ comment.thread.title }}</a>:</p>
 <blockquote>{{ comment.message|convert }}</blockquote>
 <p><a href="{{ comment.thread.url }}unsubscribe/{{ subscription_id }}/">Unsubscribe from this comment thread</a></p>

templates/index.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block header_title %}<h1>{{ SITE_TITLE }}</h1>{% endblock %}
-{% block content %}{% for document in posts %}{% if forloop.counter <= 5 %}{% include 'excerpt.dhtml' %}{% else %}{% if forloop.last %}
+{% block content %}{% for document in posts %}{% if forloop.counter <= 5 %}{% include "excerpt.dhtml" %}{% else %}{% if forloop.last %}
 			<h2>Want more?</h2>
 			<p>Check out the <a href="{% url mango.views.archives %}">archives</a>.</p>{% endif %}{% endif %}{% empty %}
 			<h2>Welcome to your new blog</h2>

templates/page.dhtml

-{% extends 'document.dhtml' %}
+{% extends "document.dhtml" %}

templates/post.dhtml

-{% extends 'document.dhtml' %}
+{% extends "document.dhtml" %}

templates/searchresults.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block title %}Search results{% if terms %} for {{ terms|to_query_string }}{% endif %}{% endblock %}
 {% block content %}

templates/tag.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% load mango_extras %}
 {% block title %}Posts tagged "{{ tag }}"{% endblock %}{% block feeds %}{{ block.super }}
 	<link rel="alternate" type="application/atom+xml" href="{% url mango.feeds.atom tag %}" />{% endblock %}
 {% block content %}
-			<h1>Posts tagged "{{ tag }}"</h1>{% for document in documents %}{% include 'excerpt.dhtml' %}{% empty %}
+			<h1>Posts tagged "{{ tag }}"</h1>{% for document in documents %}{% include "excerpt.dhtml" %}{% empty %}
 			<p>There are currently no posts tagged "{{ tag }}".</p>{% endfor %}
 {% endblock %}

templates/tags.dhtml

-{% extends 'base.dhtml' %}
+{% extends "base.dhtml" %}
 {% block title %}Tags{% endblock %}
 {% block content %}
 			<h1>Tags</h1>{% if tags %}

templates/video/youtube.dhtml

-{% ifequal tag 'dt' %}<dt>{% endifequal %}<iframe class="youtube" type="text/html" src="{{ url }}?{% if 'rel' not in query.keys %}rel=0{% if query %}&amp;{% endif %}{% endif %}{% for key, value in query.items %}{{ key }}={{ value }}{% if not forloop.last %}&amp;{% endif %}{% endfor %}"{% if title %} title="{{ title }}"{% endif %}></iframe>{% ifequal tag 'dt' %}</dt>{% endifequal %}
+{% ifequal tag "dt" %}<dt>{% endifequal %}<iframe class="youtube" type="text/html" src="{{ url }}?{% if "rel" not in query.keys %}rel=0{% if query %}&amp;{% endif %}{% endif %}{% for key, value in query.items %}{{ key }}={{ value }}{% if not forloop.last %}&amp;{% endif %}{% endfor %}"{% if title %} title="{{ title }}"{% endif %}></iframe>{% ifequal tag "dt" %}</dt>{% endifequal %}