[Bast-commits] r8098 - in ironman/IronMan-Web/root: archive inc
fade at dev.catalyst.perl.org
fade at dev.catalyst.perl.org
Sat Dec 12 22:53:37 GMT 2009
Author: fade
Date: 2009-12-12 22:53:37 +0000 (Sat, 12 Dec 2009)
New Revision: 8098
Modified:
ironman/IronMan-Web/root/archive/day.tt
ironman/IronMan-Web/root/archive/month.tt
ironman/IronMan-Web/root/inc/post_teaser.tt
Log:
template changes
Modified: ironman/IronMan-Web/root/archive/day.tt
===================================================================
--- ironman/IronMan-Web/root/archive/day.tt 2009-12-12 22:49:11 UTC (rev 8097)
+++ ironman/IronMan-Web/root/archive/day.tt 2009-12-12 22:53:37 UTC (rev 8098)
@@ -1,5 +1,5 @@
-Daily archive for [% day %]
+Daily archive for [% day.strftime('%A, %d %B %Y') %]
[% FOREACH post IN posts.all %]
Modified: ironman/IronMan-Web/root/archive/month.tt
===================================================================
--- ironman/IronMan-Web/root/archive/month.tt 2009-12-12 22:49:11 UTC (rev 8097)
+++ ironman/IronMan-Web/root/archive/month.tt 2009-12-12 22:53:37 UTC (rev 8098)
@@ -1,5 +1,5 @@
-Monthly archive for [% month %]
+Monthly archive for [% month.strftime('%B %Y') %]
[% FOREACH post IN posts.all %]
Modified: ironman/IronMan-Web/root/inc/post_teaser.tt
===================================================================
--- ironman/IronMan-Web/root/inc/post_teaser.tt 2009-12-12 22:49:11 UTC (rev 8097)
+++ ironman/IronMan-Web/root/inc/post_teaser.tt 2009-12-12 22:53:37 UTC (rev 8098)
@@ -1,17 +1,14 @@
-
<div class="entry">
<div class="entry-header">
<div class="entry-title">
- <a class="entry-source-link" href="[% post.feed.url %]">[% post.feed.title %]</a>:
-
+ <a class="entry-source-link" href="[% post.feed.url %]">[% post.feed.title %]</a>:
<a class="entry-link" href="[% post.url %]">[% post.title %]</a>
</div>
-
- <span class="entry-by-line">
- by <span class="entry-author">Post Author</span>
- </span>
-
+ [% IF post.author %]
+ <span class="entry-by-line">by <span class="entry-author">[% post.author %]</span></span>
+ [% END %]
+
[% IF post.tags.size > 0 %]
<span class="entry-tags">
on
@@ -20,21 +17,19 @@
[%- END %]
</span>
[% END %]
-
+
</div>
-
+
<div class="entry-body">
[% post.body %]
</div>
-
<div class="entry-footer">
-
<span class="entry-posted">
Posted on
- <span class="entry-post-date">Sat, 12 Dec 2009 01:26:00 -0000</span>
+ <span class="entry-post-date">[% post.posted_on.strftime('%a, %d %b %Y %H:%M:%S %z') %]</span>
</span>
-
+
<a class="entry-permalink" href="[% post.url %]">permalink</a>
<!-- AddThis Button BEGIN -->
<script type="text/javascript">var addthis_pub="ironman";</script>
@@ -42,7 +37,5 @@
<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[% post.url %]', '[% post.title %]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
<!-- AddThis Button END -->
-
</div>
</div>
-
\ No newline at end of file
More information about the Bast-commits
mailing list