parent
00e73e724d
commit
c1355909ab
|
@ -16,6 +16,6 @@
|
|||
|
||||
<p>I recently accepted a position at New York University Libraries as the Research Data Management and Reproducibility librarian as of August 2015! I will provide instructional and consultation services to the NYU Community in Research Data Management, as well as pilot curation practices while monitoring researcher needs across disciplines. Additionally, I will be directly involved in supporting the Moore-Sloan Data Science Environment Partnership at NYU, working on the reproducibility of scientific research data. I recently completed the National Digital Stewardship Residency at the American Museum of Natural History. My project was to gain a broad overview of the extent and status of AMNH digital assets pertaining to Science. To do so I developed a structured interview guide designed to measure and describe scientific digital assets resulting in a metric to predict ongoing data curation needs.
|
||||
|
||||
<p>Other interests include: gaming (pencil & paper and PC), crafting (embroidery, sewing, knitting, crocheting, quilting, scrapbooking--you name it), animal care (especially my kitten Little Boss!), snowboarding, and hiking.</p>
|
||||
<p>Other interests include: gaming (pencil & paper and PC), crafting (embroidery, sewing, knitting, crocheting, quilting, scrapbooking--you name it), animal care (especially my kitten Little Boss!), snowboarding, and hiking.</p><br/>
|
||||
|
||||
<a class="btn btn-lg btn-success btn-primary" href="/blog" role="button">Check Out My Blog»</a><br/><br/>
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="index.tmpl"/>
|
||||
|
||||
<%block name="extra_head">
|
||||
${parent.extra_head()}
|
||||
%if len(translations) > 1 and generate_atom:
|
||||
%for language in sorted(translations):
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom for the ${archive_name} section (${language})" href="${_link("archive_atom", archive_name, language)}">
|
||||
%endfor
|
||||
%elif generate_atom:
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom for the ${archive_name} archive" href="${_link("archive_atom", archive_name)}">
|
||||
%endif
|
||||
</%block>
|
|
@ -0,0 +1,110 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*" />
|
||||
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
|
||||
${set_locale(lang)}
|
||||
${base.html_headstart()}
|
||||
<%block name="extra_head">
|
||||
### Leave this block alone.
|
||||
</%block>
|
||||
${template_hooks['extra_head']()}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
|
||||
|
||||
<div class="container" id="content" role="main">
|
||||
<!-- Menubar -->
|
||||
|
||||
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="${abs_link(_link("root", None, lang))}">
|
||||
%if logo_url:
|
||||
<img src="${logo_url}" alt="${blog_title|h}" id="logo">
|
||||
%endif
|
||||
|
||||
% if show_blog_title:
|
||||
<span id="blog-title" style="padding: 19px 0px;">${blog_title|h}</span>
|
||||
% endif
|
||||
</a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
|
||||
<ul class="nav navbar-nav">
|
||||
${base.html_navigation_links()}
|
||||
${template_hooks['menu']()}
|
||||
</ul>
|
||||
%if search_form:
|
||||
${search_form}
|
||||
%endif
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<%block name="belowtitle">
|
||||
%if len(translations) > 1:
|
||||
<li>${base.html_translations()}</li>
|
||||
%endif
|
||||
</%block>
|
||||
% if show_sourcelink:
|
||||
<%block name="sourcelink"></%block>
|
||||
%endif
|
||||
<!--dropdown-->
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Data<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="https://osf.io/7mj2q/" >Open Science Framework</a></li>
|
||||
<li><a href="https://github.com/VickySteeves" >GitHub</a></li>
|
||||
</ul>
|
||||
</li><!--end dropdown-->
|
||||
<!--dropdown-->
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Social Media<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="https://twitter.com/VickySteeves" >Twitter</a></li>
|
||||
<li><a href="https://www.instagram.com/vickysteeves/" >Instagram</a></li>
|
||||
<li><a href="https://www.linkedin.com/in/victoriaisteeves" >LinkedIn</a></li>
|
||||
</ul>
|
||||
</li><!--end dropdown-->
|
||||
${template_hooks['menu_alt']()}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<!-- End of Menubar -->
|
||||
|
||||
<div class="body-content">
|
||||
<!--Body content-->
|
||||
<div class="row">
|
||||
${template_hooks['page_header']()}
|
||||
<%block name="content"></%block>
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
|
||||
<footer id="footer">
|
||||
${content_footer}
|
||||
${template_hooks['page_footer']()}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
${base.late_load_js()}
|
||||
<script>$('a.image-reference:not(.islink) img:not(.islink)').parent().colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("${momentjs_locales[lang]}");
|
||||
fancydates(${date_fanciness}, ${js_date_format});
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
<%block name="extra_js"></%block>
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.code()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.code()}
|
||||
% endif
|
||||
${body_end}
|
||||
${template_hooks['body_end']()}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,66 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*"/>
|
||||
|
||||
<%def name="html_header()">
|
||||
<header id="header">
|
||||
${html_site_title()}
|
||||
${html_translation_header()}
|
||||
${html_navigation_links()}
|
||||
%if search_form:
|
||||
<div class="searchform" role="search">
|
||||
${search_form}
|
||||
</div>
|
||||
%endif
|
||||
</header>
|
||||
${template_hooks['page_header']()}
|
||||
</%def>
|
||||
|
||||
<%def name="html_site_title()">
|
||||
<h1 id="brand"><a href="${abs_link(_link("root", None, lang))}" title="${blog_title|h}" rel="home">
|
||||
%if logo_url:
|
||||
<img src="${logo_url}" alt="${blog_title|h}" id="logo">
|
||||
%endif
|
||||
|
||||
% if show_blog_title:
|
||||
<span id="blog-title">${blog_title|h}</span>
|
||||
% endif
|
||||
</a></h1>
|
||||
</%def>
|
||||
|
||||
<%def name="html_navigation_links()">
|
||||
<nav id="menu">
|
||||
<ul>
|
||||
%for url, text in navigation_links[lang]:
|
||||
% if isinstance(url, tuple):
|
||||
<li> ${text}
|
||||
<ul>
|
||||
%for suburl, text in url:
|
||||
% if rel_link(permalink, suburl) == "#":
|
||||
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a></li>
|
||||
%else:
|
||||
<li><a href="${suburl}">${text}</a></li>
|
||||
%endif
|
||||
%endfor
|
||||
</ul>
|
||||
% else:
|
||||
% if rel_link(permalink, url) == "#":
|
||||
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a></li>
|
||||
%else:
|
||||
<li><a href="${url}">${text}</a></li>
|
||||
%endif
|
||||
% endif
|
||||
%endfor
|
||||
${template_hooks['menu']()}
|
||||
${template_hooks['menu_alt']()}
|
||||
</ul>
|
||||
</nav>
|
||||
</%def>
|
||||
|
||||
<%def name="html_translation_header()">
|
||||
%if len(translations) > 1:
|
||||
<div id="toptranslations">
|
||||
<h2>${messages("Languages:")}</h2>
|
||||
${base.html_translations()}
|
||||
</div>
|
||||
%endif
|
||||
</%def>
|
|
@ -0,0 +1,188 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
|
||||
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
|
||||
<%def name="html_headstart()">
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
\
|
||||
% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
|
||||
prefix='\
|
||||
%if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']):
|
||||
og: http://ogp.me/ns# \
|
||||
%endif
|
||||
%if use_open_graph:
|
||||
article: http://ogp.me/ns/article# \
|
||||
%endif
|
||||
%if comment_system == 'facebook':
|
||||
fb: http://ogp.me/ns/fb# \
|
||||
%endif
|
||||
'\
|
||||
%endif
|
||||
\
|
||||
% if is_rtl:
|
||||
dir="rtl" \
|
||||
% endif
|
||||
\
|
||||
lang="${lang}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
% if use_base_tag:
|
||||
<base href="${abs_link(permalink)}">
|
||||
% endif
|
||||
%if description:
|
||||
<meta name="description" content="${description|h}">
|
||||
%endif
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
%if title == blog_title:
|
||||
<title>${blog_title|h}</title>
|
||||
%else:
|
||||
<title>${title|h} | ${blog_title|h}</title>
|
||||
%endif
|
||||
|
||||
${html_stylesheets()}
|
||||
<meta content="${theme_color}" name="theme-color">
|
||||
${html_feedlinks()}
|
||||
<link rel="canonical" href="${abs_link(permalink)}">
|
||||
|
||||
%if favicons:
|
||||
%for name, file, size in favicons:
|
||||
<link rel="${name}" href="${file}" sizes="${size}"/>
|
||||
%endfor
|
||||
%endif
|
||||
|
||||
% if comment_system == 'facebook':
|
||||
<meta property="fb:app_id" content="${comment_system_id}">
|
||||
% endif
|
||||
|
||||
%if prevlink:
|
||||
<link rel="prev" href="${prevlink}" type="text/html">
|
||||
%endif
|
||||
%if nextlink:
|
||||
<link rel="next" href="${nextlink}" type="text/html">
|
||||
%endif
|
||||
|
||||
${mathjax_config}
|
||||
%if use_cdn:
|
||||
<!--[if lt IE 9]><script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
%else:
|
||||
<!--[if lt IE 9]><script src="${url_replacer(permalink, '/assets/js/html5.js', lang)}"></script><![endif]-->
|
||||
%endif
|
||||
|
||||
${extra_head_data}
|
||||
</%def>
|
||||
|
||||
<%def name="late_load_js()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="/assets/js/all.js"></script>
|
||||
%else:
|
||||
<script src="/assets/js/all-nocdn.js"></script>
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
%else:
|
||||
<script src="/assets/js/jquery.min.js"></script>
|
||||
<script src="/assets/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/moment-with-locales.min.js"></script>
|
||||
<script src="/assets/js/fancydates.js"></script>
|
||||
%endif
|
||||
<script src="/assets/js/jquery.colorbox-min.js"></script>
|
||||
%endif
|
||||
%if colorbox_locales[lang]:
|
||||
<script src="/assets/js/colorbox-i18n/jquery.colorbox-${colorbox_locales[lang]}.js"></script>
|
||||
%endif
|
||||
${social_buttons_code}
|
||||
</%def>
|
||||
|
||||
|
||||
<%def name="html_stylesheets()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
|
||||
%else:
|
||||
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
%else:
|
||||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
|
||||
%if has_custom_css:
|
||||
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%endif
|
||||
% if needs_ipython_css:
|
||||
<link href="/assets/css/ipython.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
|
||||
% endif
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.css()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.css()}
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_navigation_links()">
|
||||
%for url, text in navigation_links[lang]:
|
||||
% if isinstance(url, tuple):
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">${text} <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
%for suburl, text in url:
|
||||
% if rel_link(permalink, suburl) == "#":
|
||||
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
|
||||
%else:
|
||||
<li><a href="${suburl}">${text}</a>
|
||||
%endif
|
||||
%endfor
|
||||
</ul>
|
||||
% else:
|
||||
% if rel_link(permalink, url) == "#":
|
||||
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
|
||||
%else:
|
||||
<li><a href="${url}">${text}</a>
|
||||
%endif
|
||||
% endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
||||
<%def name="html_feedlinks()">
|
||||
%if rss_link:
|
||||
${rss_link}
|
||||
%elif generate_rss:
|
||||
%if len(translations) > 1:
|
||||
%for language in sorted(translations):
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS (${language})" href="${_link('rss', None, language)}">
|
||||
%endfor
|
||||
%else:
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="${_link('rss', None)}">
|
||||
%endif
|
||||
%endif
|
||||
%if generate_atom:
|
||||
%if len(translations) > 1:
|
||||
%for language in sorted(translations):
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom (${language})" href="${_link('index_atom', None, language)}">
|
||||
%endfor
|
||||
%else:
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="${_link('index_atom', None)}">
|
||||
%endif
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_translations()">
|
||||
%for langname in sorted(translations):
|
||||
%if langname != lang:
|
||||
<li><a href="${abs_link(_link("root", None, langname))}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></li>
|
||||
%endif
|
||||
%endfor
|
||||
</%def>
|
|
@ -0,0 +1,53 @@
|
|||
## -*- 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:
|
||||
${post.author()|h}
|
||||
% 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>
|
|
@ -0,0 +1,40 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%def name="html_pager()">
|
||||
%if prevlink or nextlink:
|
||||
<nav class="postindexpager">
|
||||
<ul class="pager">
|
||||
%if prevlink:
|
||||
<li class="previous">
|
||||
<a href="${prevlink}" rel="prev">${messages("Newer posts")}</a>
|
||||
</li>
|
||||
%endif
|
||||
%if nextlink:
|
||||
<li class="next">
|
||||
<a href="${nextlink}" rel="next">${messages("Older posts")}</a>
|
||||
</li>
|
||||
%endif
|
||||
</ul>
|
||||
</nav>
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="mathjax_script(posts)">
|
||||
%if any(post.is_mathjax for post in posts):
|
||||
%if use_katex:
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/contrib/auto-render.min.js"></script>
|
||||
<script>
|
||||
renderMathInElement(document.body);
|
||||
</script>
|
||||
%else:
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
|
||||
% if mathjax_config:
|
||||
${mathjax_config}
|
||||
% else:
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({tex2jax: {inlineMath: [['$latex ','$'], ['\\(','\\)']]}});
|
||||
</script>
|
||||
% endif
|
||||
%endif
|
||||
%endif
|
||||
</%def>
|
|
@ -0,0 +1,59 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
|
||||
<%block name="extra_head">
|
||||
${parent.extra_head()}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}">
|
||||
% endif
|
||||
%if post.description():
|
||||
<meta name="description" itemprop="description" content="${post.description()|h}">
|
||||
%endif
|
||||
<meta name="author" content="${post.author()|h}">
|
||||
%if post.prev_post:
|
||||
<link rel="prev" href="${post.prev_post.permalink()}" title="${post.prev_post.title()|h}" type="text/html">
|
||||
%endif
|
||||
%if post.next_post:
|
||||
<link rel="next" href="${post.next_post.permalink()}" title="${post.next_post.title()|h}" type="text/html">
|
||||
%endif
|
||||
% if post.is_draft:
|
||||
<meta name="robots" content="noindex">
|
||||
% endif
|
||||
${helper.open_graph_metadata(post)}
|
||||
${helper.twitter_card_information(post)}
|
||||
${helper.meta_translations(post)}
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
<article class="post-${post.meta('type')} h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
${pheader.html_post_header()}
|
||||
<div class="e-content entry-content" itemprop="articleBody text">
|
||||
${post.text()}
|
||||
</div>
|
||||
<aside class="postpromonav">
|
||||
<nav>
|
||||
${helper.html_tags(post)}
|
||||
${helper.html_pager(post)}
|
||||
</nav>
|
||||
</aside>
|
||||
% if not post.meta('nocomments') and site_has_comments:
|
||||
<section class="comments hidden-print">
|
||||
<h2>${messages("Comments")}</h2>
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)}
|
||||
</section>
|
||||
% endif
|
||||
${helper.mathjax_script(post)}
|
||||
</article>
|
||||
${comments.comment_link_script()}
|
||||
</%block>
|
||||
|
||||
<%block name="sourcelink">
|
||||
% if show_sourcelink:
|
||||
<li>
|
||||
<a href="${post.source_link()}" id="sourcelink">${messages("Source")}</a>
|
||||
</li>
|
||||
% endif
|
||||
</%block>
|
|
@ -0,0 +1,53 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
|
||||
<%def name="html_title()">
|
||||
%if title and not post.meta('hidetitle'):
|
||||
<h1 class="p-name entry-title" itemprop="headline name"><a href="${post.permalink()}" class="u-url">${post.title()|h}</a></h1>
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_translations(post)">
|
||||
% if len(post.translated_to) > 1:
|
||||
<div class="metadata posttranslations translations">
|
||||
<h3 class="posttranslations-intro">${messages("Also available in:")}</h3>
|
||||
% for langname in sorted(translations):
|
||||
% if langname != lang and post.is_translation_available(langname):
|
||||
<p><a href="${post.permalink(langname)}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></p>
|
||||
% endif
|
||||
% endfor
|
||||
</div>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_sourcelink()">
|
||||
% if show_sourcelink:
|
||||
<p class="sourceline"><a href="${post.source_link()}" id="sourcelink">${messages("Source")}</a></p>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_post_header()">
|
||||
<header>
|
||||
<a href="${post.meta('link')}" id="sourcelink"><img src="../../images/github.png" height="5%" width="5%" style="float:right;"></a>
|
||||
${html_title()}
|
||||
<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:
|
||||
${post.author()|h}
|
||||
% endif
|
||||
</span></p>
|
||||
<p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('webiso')}" itemprop="datePublished" 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
|
||||
${html_sourcelink()}
|
||||
%if post.description():
|
||||
<meta name="description" itemprop="description" content="${post.description()|h}">
|
||||
%endif
|
||||
</div>
|
||||
${html_translations(post)}
|
||||
</header>
|
||||
</%def>
|
Loading…
Reference in New Issue