example correction that prevents author's cover images from being ove… (#28)

* example correction that prevents author's cover images from being overwritten by inherited code in index.html

* article, author, category and tag extends to base.html instead of index.html
This commit is contained in:
Age Manning 2018-07-09 03:14:41 +10:00 committed by Arul
parent b29690fba3
commit b60a72e189
4 changed files with 36 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{% extends "index.html" %}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Articles in the {{ category }} category{% endblock %}
@ -51,3 +51,12 @@
</div>
</header>
{% endblock header %}
{% block content %}
<div id="index" class="container">
<main class="content" role="main">
{% include "partials/loop.html" %}
</main>
</div>
{% endblock content %}