2016-08-17 16:57:00 +00:00
|
|
|
## -*- coding: utf-8 -*-
|
|
|
|
<%namespace name="helper" file="index_helper.tmpl"/>
|
|
|
|
<%namespace name="comments" file="comments_helper.tmpl"/>
|
|
|
|
<%inherit file="base.tmpl"/>
|
|
|
|
|
|
|
|
<%block name="extra_head">
|
|
|
|
${parent.extra_head()}
|
|
|
|
% if posts and (permalink == '/' or permalink == '/' + index_file):
|
|
|
|
<link rel="prefetch" href="${posts[0].permalink()}" type="text/html">
|
|
|
|
% endif
|
|
|
|
</%block>
|
|
|
|
|
|
|
|
<%block name="content">
|
|
|
|
<%block name="content_header"></%block>
|
|
|
|
% if 'main_index' in pagekind:
|
|
|
|
${front_index_header}
|
|
|
|
<h1 class="blog-title">Data, Science, & Librarians, Oh My!</h1>
|
|
|
|
<p class="lead blog-description">My thoughts as I navigate the world of data librarianship.</p>
|
|
|
|
% endif
|
|
|
|
<div class="postindex">
|
|
|
|
% for post in posts:
|
|
|
|
<article class="h-entry post-${post.meta('type')}">
|
|
|
|
<header>
|
|
|
|
<h1 class="p-name entry-title"><a href="${post.permalink()}" class="u-url">${post.title()|h}</a></h1>
|
|
|
|
<div class="metadata">
|
|
|
|
<p class="byline author vcard"><span class="byline-name fn">
|
|
|
|
% if author_pages_generated:
|
|
|
|
<a href="${_link('author', post.author())}">${post.author()|h}</a>
|
|
|
|
% else:
|
2016-08-17 21:48:41 +00:00
|
|
|
<a href="../resume">${post.author()|h}</a>
|
2016-08-17 16:57:00 +00:00
|
|
|
% endif
|
|
|
|
</span></p>
|
|
|
|
<p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('webiso')}" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time></a></p>
|
|
|
|
% if not post.meta('nocomments') and site_has_comments:
|
|
|
|
<p class="commentline">${comments.comment_link(post.permalink(), post._base_path)}
|
|
|
|
% endif
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
%if index_teasers:
|
|
|
|
<div class="p-summary entry-summary">
|
|
|
|
${post.text(teaser_only=True)}
|
|
|
|
%else:
|
|
|
|
<div class="e-content entry-content">
|
|
|
|
${post.text(teaser_only=False)}
|
|
|
|
%endif
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
% endfor
|
|
|
|
</div>
|
|
|
|
${helper.html_pager()}
|
|
|
|
${comments.comment_link_script()}
|
|
|
|
${helper.mathjax_script(posts)}
|
|
|
|
</%block>
|