redoules.github.io/theme/templates/article.html
Guillaume Redoulès 1924ca4047 update to the site
cleaning Chris' project to adapt to my site
2017-10-14 21:35:49 +02:00

49 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% block title %}{{ article.title }} - {{ article.category }}{% endblock %}
{% block head %}
{{ super() }}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block content %}
<!-- <div class="alert alert-warning" role="alert">
Did you find this page useful? Please do me a quick favor and <a href="#" class="alert-link">endorse me for data science on LinkedIn</a>.
</div> -->
<section id="content" class="body">
<header>
<h1>
{{ article.title }}
</h1>
<ol class="breadcrumb">
<li>
<time class="published" datetime="{{ article.date.isoformat() }}">
{{ article.date.strftime("%d %B %Y") }}
</time>
</li>
<li>{{ article.category }}</li>
{% for tag in article.tags %}
<li>{{tag}}</li>
{% endfor %}
</ol>
</header>
<div class='article_content'>
{{ article.content }}
</div>
<aside>
<div class="bug-reporting__panel">
<h3>Find an error or bug? Have a suggestion?</h3>
<p>Everything on this site is avaliable on GitHub. Head on over and <a href='https://github.com/redoules/redoules.github.io/issues/new'>submit an issue.</a> You can also message me directly by <a href='mailto:guillaume.redoules@gadz.org'>email</a>.</p>
</div>
</aside>
</section>
{% endblock %}