	<div class='entry'>
		<h2 class='uri'>
			[% IF entry.link %]
        [% widget.link(class => "title", href => entry.link, text => entry.title) %]
			[% ELSE %]
				[% entry.title %]
			[% END %]
			[% IF entry.body %]
        [% widget.link(href => uri.entry(entry), text => "(body)") %]
			[% END %]
			[% IF current_user %]
			[% IF current_user == entry.user %]
			<a href="[% uri.edit_entry(entry) %]?then_goto=[% self_url | uri %]">(edit)</a>
			[% ELSE %]
			<a href="[% uri.post_entry %]?uri=[% xml_escape(entry.link) %]&title=[% xml_escape(entry.title) %]">(copy)</a>
			[% END %]
			[% END %]
		</h2>
		[% IF entry.description %]
		<div class='description'>[% entry.description %]</div>
		[% END %]
		<div class='created'>
			[% FOREACH tag = entry.entrytags %]
      [% widget.link(
        href => uri.entries(user => user, tags => [ tag.tag ]),
        text => tag.tag
      ) | trim %][% IF tag.tag_value %]:[% widget.link(
        href => uri.entries(user => user, tags => [ tag ]),
        text => tag.tag_value
      ) %][% END %]
			[% END %]
			[% IF ! user %]
			by <a href='[% uri.entries(user => entry.user) %]'>[% entry.user %]</a>
			[% END %]
			(created: [% entry.created.strftime("%Y-%m-%d %H:%M") %])
		</div>
		[% IF entry.link.entry_count > 1 %]
		<div class='other_entries'>
			(<a href='[% uri.entries(urimd5 => entry.link.md5) %]'>[% entry.link.entry_count %]
      entries</a> for this link)
		</div>
		[% END %]
	</div>
