Initial commit
This commit is contained in:
commit
edb5816892
30 changed files with 534 additions and 0 deletions
11
templates/macros/blog.html
Normal file
11
templates/macros/blog.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% macro render_blog_post(post, from_index=false) %}
|
||||
<article class="center">
|
||||
<h1><a href="{{ post|url }}">{{ post.title }}</a></h1>
|
||||
<div class="info">
|
||||
Published on {{ post.pub_date }}. // <a href="#">No comments.</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ post.body }}
|
||||
</div>
|
||||
</article>
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue