<commit_before>{% extends "layout/layout_home.html" %}

{% block content %}
	<div id="news">
		<div id="announcements" class="clearfix">
			<h1>News & Announcements</h1>
			<ul>
				{% for announcement in announcements %}
					<li class="announcement">
						<a href="{{ announcement.get_absolute_url }}">
							<div class="announcement_title">{{ announcement.name|truncatewords:10 }}</div>
							<div class="announcement_date">{{ announcement.created|date:"N d, Y h:ia" }}</div>
						</a>
					</li>
				{% endfor %}
			</ul>
		</div>
		<div id="calendar" class="clearfix">
			<iframe src="https://www.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=400&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=pm3odo50mikpffck6bnrhrqj3c%40group.calendar.google.com&amp;color=%23182C57&amp;ctz=America%2FNew_York" style=" border-width:0 " width="270" height="400" frameborder="0" scrolling="no"></iframe>
		</div>
	</div>

	<ul id="social_feed">
		{% for update in updates %}
			<li class="update">
				{% if update.type == 'tweet' %}
					<a style="background-image: url('{{ update.tweet.user.thumbnail_url }}');" href="http://twitter.com/{{ update.tweet.user.screen_name }}" title="{{ update.tweet.user.screen_name }} on Twitter"></a>
					<div class="update_header">
						<a class="update_user" href="http://twitter.com/{{ update.tweet.user.screen_name }}" target="_blank">@{{ update.tweet.user.screen_name }}</a>
						<a class="update_datetime" href="http://twitter.com/{{ update.tweet.user.screen_name }}/status/{{ update.tweet.twitter_id }}" target="_blank">{{ update.tweet.pub_time|timesince }} ago</a>
					</div>
					{{ update.tweet.text }}
				{% endif %}

				{% if update.type == 'photo' %}
					{% for photo in update.photoset|slice:":3" %}
						{% if forloop.first %}
							<div class="update_header">
								<a class="update_user" href="http://flickr.com/photos/{{ photo.owner_nsid }}" target="_blank">{{ photo.owner }}</a>
								<span class="update_datetime">{{ photo.upload_date|timesince }} ago</span>
							</div>
						{% endif %}
						<a href="{{ photo.photopage_url }}" target="_blank"><img class="photo" src="{{ photo.url }}" /></a>
					{% endfor %}
				{% endif %}
			</li>
		{% endfor %}
	</ul>
{% endblock %}<commit_msg>removed photo slice/limit<commit_after>{% extends "layout/layout_home.html" %}

{% block content %}
	<div id="news">
		<div id="announcements" class="clearfix">
			<h1>News & Announcements</h1>
			<ul>
				{% for announcement in announcements %}
					<li class="announcement">
						<a href="{{ announcement.get_absolute_url }}">
							<div class="announcement_title">{{ announcement.name|truncatewords:10 }}</div>
							<div class="announcement_date">{{ announcement.created|date:"N d, Y h:ia" }}</div>
						</a>
					</li>
				{% endfor %}
			</ul>
		</div>
		<div id="calendar" class="clearfix">
			<iframe src="https://www.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=400&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=pm3odo50mikpffck6bnrhrqj3c%40group.calendar.google.com&amp;color=%23182C57&amp;ctz=America%2FNew_York" style=" border-width:0 " width="270" height="400" frameborder="0" scrolling="no"></iframe>
		</div>
	</div>

	<ul id="social_feed">
		{% for update in updates %}
			<li class="update">
				{% if update.type == 'tweet' %}
					<a style="background-image: url('{{ update.tweet.user.thumbnail_url }}');" href="http://twitter.com/{{ update.tweet.user.screen_name }}" title="{{ update.tweet.user.screen_name }} on Twitter"></a>
					<div class="update_header">
						<a class="update_user" href="http://twitter.com/{{ update.tweet.user.screen_name }}" target="_blank">@{{ update.tweet.user.screen_name }}</a>
						<a class="update_datetime" href="http://twitter.com/{{ update.tweet.user.screen_name }}/status/{{ update.tweet.twitter_id }}" target="_blank">{{ update.tweet.pub_time|timesince }} ago</a>
					</div>
					{{ update.tweet.text }}
				{% endif %}

				{% if update.type == 'photo' %}
					{% for photo in update.photoset %}
						{% if forloop.first %}
							<div class="update_header">
								<a class="update_user" href="http://flickr.com/photos/{{ photo.owner_nsid }}" target="_blank">{{ photo.owner }}</a>
								<span class="update_datetime">{{ photo.upload_date|timesince }} ago</span>
							</div>
						{% endif %}
						<a href="{{ photo.photopage_url }}" target="_blank"><img class="photo" src="{{ photo.url }}" /></a>
					{% endfor %}
				{% endif %}
			</li>
		{% endfor %}
	</ul>
{% endblock %}
{'fraction_non_alphanumeric': 0.20887285077478243, 'fraction_numerical': 0.01719380174060709, 'mean_word_length': 4.18942731277533, 'pattern_counts': {'":': 1, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2630766', 'n_tokens_mistral': 2057, 'n_tokens_neox': 1655, 'n_words': 264}