[Bast-commits] r6144 -
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template
castaway at dev.catalyst.perl.org
castaway at dev.catalyst.perl.org
Wed May 6 12:38:03 GMT 2009
Author: castaway
Date: 2009-05-06 12:38:03 +0000 (Wed, 06 May 2009)
New Revision: 6144
Modified:
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
Log:
Prefer entry summary if available
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-05-06 03:25:04 UTC (rev 6143)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-05-06 12:38:03 UTC (rev 6144)
@@ -90,7 +90,7 @@
</div>
[% IF entry.body %]
<div class="entry-body">
- [% entry.body.truncate_html(300) %]
+ [% entry.summary || entry.body.truncate_html(300) %]
</div>
[% END %]
<div class="entry-footer">
More information about the Bast-commits
mailing list