forked from zotonic/zotonic
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix blog template indentation (spaces -> tabs). Fixes zotonic#329.
Thanks, David Siegel Squashed commit of the following: commit cd9d553 Merge: 7e594c0 fa7d759 Author: David Siegel <david.siegel@artcom.de> Date: Mon May 14 17:49:48 2012 +0200 Merge remote-tracking branch 'upstream/master' into fix_blog_template_indentation commit 7e594c0 Author: David Siegel <david.siegel@artcom.de> Date: Mon May 14 17:45:27 2012 +0200 clean up indentation commit 60bb930 Author: David Siegel <david.siegel@artcom.de> Date: Sat May 12 21:43:47 2012 +0200 Replace spaces with tabs in blog templates
- Loading branch information
Arjan Scherpenisse
committed
Jul 10, 2012
1 parent
2e53316
commit 98f2172
Showing
15 changed files
with
204 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{% with id|menu_trail as parents %} | ||
{% if parents %} | ||
<div class="span12"> | ||
<h5 class="chapeau"> | ||
{% for p in parents %} | ||
<a href="{{ m.rsc[p].page_url }}">{{ m.rsc[p].title }}</a> | ||
{% if not forloop.last %}»{% endif %} | ||
{% endfor %} | ||
</h5> | ||
<h5 class="chapeau"> | ||
{% for p in parents %} | ||
<a href="{{ m.rsc[p].page_url }}">{{ m.rsc[p].title }}</a> | ||
{% if not forloop.last %}»{% endif %} | ||
{% endfor %} | ||
</h5> | ||
</div> | ||
{% endif %} | ||
{% endwith %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{% with id.o.subject as tags %} | ||
{% if tags %} | ||
<p class="keywords"> | ||
{_ Keywords _}: | ||
{% for id in tags %} | ||
<a class="label label-info" href="{{ m.rsc[id].page_url }}">{{ m.rsc[id].title }}</a> | ||
{% endfor %} | ||
{_ Keywords _}: | ||
{% for id in tags %} | ||
<a class="label label-info" href="{{ m.rsc[id].page_url }}">{{ m.rsc[id].title }}</a> | ||
{% endfor %} | ||
</p> | ||
{% endif %} | ||
{% endwith %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{% include "_article_keywords.tpl" %} | ||
|
||
{% with m.rsc[id].media|without_embedded_media:id as media %} | ||
{% with m.rsc[id].media|without_embedded_media:id as media %} | ||
{% if media %} | ||
<ul class="thumbnails"> | ||
{% for medium in media %} | ||
<li> | ||
<a href="{{ medium.id.page_url }}" class="thumbnail"> | ||
{% include "_body_media.tpl" width=300 align="block" id=medium %} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
{% for medium in media %} | ||
<li> | ||
<a href="{{ medium.id.page_url }}" class="thumbnail"> | ||
{% include "_body_media.tpl" width=300 align="block" id=medium %} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% endif %} | ||
{% endwith %} | ||
|
||
{% include "_edit_button.tpl" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<html> | ||
<head> | ||
<title>{{ name|escape }} - Contact form</title> | ||
</head> | ||
<body> | ||
<p>Hello, the contact form of the site has been submitted.</p> | ||
<head> | ||
<title>{{ name|escape }} - Contact form</title> | ||
</head> | ||
<body> | ||
<p>Hello, the contact form of the site has been submitted.</p> | ||
|
||
<p>Name: {{ name|escape }}</p> | ||
<p>E-mail: {{ mail|escape }}</p> | ||
<p>Name: {{ name|escape }}</p> | ||
<p>E-mail: {{ mail|escape }}</p> | ||
|
||
<p>The contents of the message was this:</p> | ||
<pre>{{ message|force_escape|linebreaksbr }}</pre> | ||
<p>The contents of the message was this:</p> | ||
<pre>{{ message|force_escape|linebreaksbr }}</pre> | ||
|
||
<p>Regards, your website.</p> | ||
</body> | ||
<p>Regards, your website.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<li class="listitem"> | ||
<h3><a href="{{ m.rsc[id].page_url }}">{{ m.rsc[id].title }}</a></h3> | ||
{{ m.rsc[id].summary }} | ||
<h3><a href="{{ m.rsc[id].page_url }}">{{ m.rsc[id].title }}</a></h3> | ||
{{ m.rsc[id].summary }} | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.