story.tmpl 866 B

123456789101112131415161718192021222324
  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. <%inherit file="post.tmpl"/>
  6. <%block name="content">
  7. <article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
  8. <header>
  9. ${pheader.html_title()}
  10. ${pheader.html_translations(post)}
  11. </header>
  12. <div class="e-content entry-content" itemprop="articleBody text">
  13. ${post.text()}
  14. </div>
  15. %if site_has_comments and enable_comments and not post.meta('nocomments'):
  16. <section class="comments">
  17. <h2>${messages("Comments")}</h2>
  18. ${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
  19. </section>
  20. %endif
  21. ${helper.mathjax_script(post)}
  22. </article>
  23. </%block>