Skip to content

Instantly share code, notes, and snippets.

@ralsina
Last active September 12, 2015 16:44
Show Gist options
  • Save ralsina/f778c7625a324716aeb3 to your computer and use it in GitHub Desktop.
Save ralsina/f778c7625a324716aeb3 to your computer and use it in GitHub Desktop.
## -*- 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="post.tmpl"/>
<%block name="content">
<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
<header>
${pheader.html_title()}
${pheader.html_translations(post)}
</header>
<div class="e-content entry-content" itemprop="articleBody text">
${post.text()}
</div>
%if site_has_comments and enable_comments and not post.meta('nocomments'):
<section class="comments">
<h2>${messages("Comments")}</h2>
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
</section>
%endif
${helper.mathjax_script(post)}
</article>
</%block>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment