diff options
Diffstat (limited to 'src/templates/entry.html')
-rw-r--r-- | src/templates/entry.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/templates/entry.html b/src/templates/entry.html new file mode 100644 index 0000000..1988537 --- /dev/null +++ b/src/templates/entry.html @@ -0,0 +1,37 @@ +{% extends 'layout.html' %} + +{% block head %} + <link href="/~kyrias/isso.css" rel="stylesheet"> +{% endblock head %} + +{% block content %} + <article itemscope itemtype="http://schema.org/Article" + class="entry" id="entry:{{ entry.id }}"> + + <h2 itemprop="name" class="title">{{ entry.title }}</h2> + + <div class="info"> + Published on + <time itemprop="datePublished" datetime="{{ entry.date.strftime('%Y-%m-%d') }}"> + {{ entry.date.strftime('%Y-%m-%d') }} + </time> + + <span itemprop="author" itemscope itemtype="http://schema.org/Person"> + {% if entry.author_link %} + by <a itemprop="name" rel="author" href="{{ entry.author_link }}">{{ entry.author }}</a> + {% else %} + by {{ entry.author }} + {% endif %} + </span> + </div> + + {{ entry.body }} + </article> + + <script data-isso="https://theos.kyriasis.com/isso/" + data-isso-css="false" + data-isso-vote="true" + src="https://theos.kyriasis.com/isso/js/embed.min.js"></script> + <section id="isso-thread" class="botborder"></section> + +{% endblock content %} |