Merge pull request #203 from sorin-davidoi/patch-1

fix(templates/macros): Invalid markup
This commit is contained in:
Baptiste Gelez 2018-09-06 22:46:57 +01:00 committed by GitHub
commit 856470e145
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{% macro post_card(article) %}
<div class="card">
<h3><a href="{{ article.url }}">{{ article.post.title }}</a></h3>
<main
<main>
<p>
{% if article.post.subtitle | length > 0 %}
{{ article.post.subtitle }}