1## -*- coding: utf-8 -*- 2<%namespace name="helper" file="post_helper.tmpl"/> 3<%namespace name="pheader" file="post_header.tmpl"/> 4<%namespace name="comments" file="comments_helper.tmpl"/> 5<%namespace name="math" file="math_helper.tmpl"/> 6<%inherit file="base.tmpl"/> 7 8<%block name="extra_head"> 9 ${parent.extra_head()} 10 % if post.meta('keywords'): 11 <meta name="keywords" content="${post.meta('keywords')|h}"> 12 % endif 13 ##<meta name="author" content="${post.author()|h}"> 14 %if post.prev_post: 15 <link rel="prev" href="${post.prev_post.permalink()}" title="${post.prev_post.title()|h}" type="text/html"> 16 %endif 17 %if post.next_post: 18 <link rel="next" href="${post.next_post.permalink()}" title="${post.next_post.title()|h}" type="text/html"> 19 %endif 20 % if post.is_draft: 21 <meta name="robots" content="noindex"> 22 % endif 23 ${helper.open_graph_metadata(post)} 24 ${helper.twitter_card_information(post)} 25 ${helper.meta_translations(post)} 26 ${math.math_styles_ifpost(post)} 27</%block> 28 29<%block name="content"> 30<article class="post-${post.meta('type')} h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article"> 31 ${pheader.html_post_header()} 32 <div class="content"> 33 ${post.text()} 34 </div> 35 <aside class="postpromonav"> 36 <nav> 37 ${helper.html_tags(post)} 38 ${helper.html_pager(post)} 39 </nav> 40 </aside> 41 % if not post.meta('nocomments') and site_has_comments: 42 <section class="comments hidden-print"> 43 <h2>${messages("Comments")}</h2> 44 ${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)} 45 </section> 46 % endif 47 ${math.math_scripts_ifpost(post)} 48</article> 49${comments.comment_link_script()} 50</%block> 51