I seem to find it easiest to learn by example ;-)))

 

 

here's my entry_template code

 

<p>

<a name="e<% entry.get_id() %>"></a>

<h3 class="special_header"><% entry.title %></h3>

<% entry_body %>

<#

if not entry.is_textile(): print "<p></p>"

#>

<div class="signature">

Posted by Ron Stephens @ <span class="clean"><% entry['insert_date'] %></span>

<span class="phi">[<a href="<% permalink(entry.get_id()) %>" rel="bookmark" alt="permanent link to this post">permalink</a>]</span>

<br>

Categories:

<#

import string

if entry.hasattr('categories'):

lst = []

for category in entry['categories']:

pagename = "arch_%s.html" % (category,)

s = '<a href="%s">%s</a>' % (pagename, category)

lst.append(s)

print string.join(lst, ", ")

else:

print "(unclassified)"

#>

</div>

</p>