{% extends "newsroom/base.html" %}

{% block title %}Archives | Community News | Penobscot Bay Press {% endblock %}
{% block description %}{{a.archivesectionchive.body|truncatewords:60}} {% endblock %}
{% block flag_img_src %}{{MEDIA_URL}}images/headers/archivesround440.gif{% endblock %}
{% block flag_descrip %}Short-term archives, videos, slideshows and special features {% endblock %}

{% block content %}
{% load markup typogrify humanize %}

<div style="width:100%; margin:0; padding:0">
	<div class="main_content_left">
		<div style="padding-left:12px; padding-right:12px; padding-top:12px">
			<h2 class="sectionhead_wide">Short-term Archives</h2>
		</div>
 		<div style="padding-left:12px; padding-right:12px; padding-top:12px">
           <a href="/news/archives/sports/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Sports Archive','','{{MEDIA_URL}}images/archives/archives_sports_over.gif',1)"><img src="{{MEDIA_URL}}images/archives/archives_sports.gif" alt="Sports Archive" name="Sports Archive" width="200" height="120" border="0"></a> <a href="/multimedia/movies/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Video Archives','','{{MEDIA_URL}}images/archives/archives_video_over.gif',1)"><img src="{{MEDIA_URL}}images/archives/archives_video.gif" alt="Video Archives" name="Video Archives" width="141" height="120" border="0"></a>
		</div>
 		<div style="padding-left:12px; padding-right:12px; padding-top:12px">
                {% for a in archives %}
                {% if a.archivedocument %}
                <span class="teaser-alt">PDF Document</span><br>
                <span class="headline"><a href="{{a.archivedocument.document.get_absolute_url}}">{{a.archivedocument}}</a></span><br> 
                <span class="subhed">Last Updated {{a.archivedocument.modified|date:"n/j/y"}}</span><br> 
                <hr/>
                {% endif %}
                {% if a.archivesection.published %}
                <p>
                {% if a.archivesection.published %}
                {% if a.archivesection.new %}<span class="reddata">NEW!</span>{% endif %}
                <span class="teaser">{{a.archivesection.dateline}}</span>
                <span class="kicker"><br></span>
                <span class="headline">
                        {% if a.archivesection.thumbnail %}
                        <span class="teaser">
                        <img src="{{a.archivesection.thumbnail.url}}" alt="flag" width="30" height="30" hspace="3" border="0" align="left">
                        </span>{% endif %}
                <a href="{{a.archivesection.get_absolute_url}}">{{a.archivesection.title}}</a></span><br> 
                <span class="subhed">Last Updated {{a.archivesection.modified|date:"n/j/y"}}</span><br> 
                {% endif %}
                {% if a.archivestory %}
                {% if a.archivestory.story.new %}<span class="reddata">NEW!</span>{% endif %}
                <span class="teaser">{{a.archivestory.story.dateline}}</span>
                <span class="kicker"><br></span> <span class="headline">
                        {% if a.archivesection.thumbnail %}
                        <span class="teaser">
                        <img src="{{a.thumbnail.url}}" alt="flag" width="30" height="30" hspace="3" border="0" align="left">
                        </span>{% endif %}
                <a href="{{a.archivestory.story.get_absolute_url}}">{{a.archivestory.story.hed}}</a></span><br> 
                <span class="subhed">Last Updated {{a.archivestory.story.modified|date:"n/j/y"}}</span><br> 
                {% endif %}
                
                </p> 
                <hr/>
                {% endif %}
                {% endfor %}
		</div>
 		<div style="padding-left:12px; padding-right:12px; padding-top:12px">
           <p><b>Yes! I want continued access to PBP's upcoming archives and special features<br/></b>
           <a href="http://store.penobscotbaypress.com/subs.html">Click here for subscription information...</a></p>
		</div>
</div>
</div>
	<div class="sidebar_right_media">
		<!-- Google AdSense BEGIN -->
		<div style="clear:both; text-align:center">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- Square ad for right of pages -->
			<ins class="adsbygoogle"
			style="display:inline-block;width:250px;height:250px"
			data-ad-client="ca-pub-7616595738812584"
			data-ad-slot="7790117357"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div>
		<!-- Google AdSense END -->
		<br>
		<!-- Google AdSense BEGIN -->
		<div style="clear:both; text-align:center">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- Square ad for right of pages -->
			<ins class="adsbygoogle"
			style="display:inline-block;width:250px;height:250px"
			data-ad-client="ca-pub-7616595738812584"
			data-ad-slot="7790117357"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div>
		<!-- Google AdSense END -->
	</div>
<!-- AddThis Smart Layers BEGIN -->
<!-- Go to http://www.addthis.com/get/smart-layers to customize -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
<script type="text/javascript">
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'right',
'services' : 'facebook,twitter,email,print,gmail,tumblr,more',
}   
});
</script>
<!-- AddThis Smart Layers END -->
{% endblock %}
