<{
	{assert_visible_story %topic %id}
	{redir_if_archived 'STORY' %topic %id}
    {touch_story %topic %id}

	header

	{= 'html_title'
			{? cfg_site_name ': ' {story_title %topic %id}}}
	{= 'html_description'
			{if cfg_abstract_as_description {story_abstract %topic %id} {story_description %topic %id}}}
	{= 'html_keywords'
			{foreach {story_tags %topic %id} $0 ', '}}
	{= 'html_image' {? 'http://' cfg_host_name {story_image %topic %id}}}

	column1

	column2
}>

<div class = 'main'>

	<{main_top}>

	<div class = 'date'>
		<{link
			{url 'SEARCH_BY_DATE' 'from' 
				{story_date '%y%m%d000000' %topic %id}
			'to'
				{story_date '%y%m%d235959' %topic %id}
			}
			{story_date {or cfg_story_date_format cfg_date_format} %topic %id}
		}>
	</div>

	<{_story_complete %topic %id %hl}>

	<{main_bottom}>

</div>

<{footer}>
