init commit
This commit is contained in:
commit
52b82fe03f
13 changed files with 372 additions and 0 deletions
17
templates/page.html
Normal file
17
templates/page.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ page.title }} - {{ config.title }}{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<header class="post-header">
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.date %}
|
||||
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
|
||||
{% endif %}
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ page.content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue