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