We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1611bb8 + 84e53ca commit a2e1a0aCopy full SHA for a2e1a0a
1 file changed
templates/macros/post_macros.html
@@ -23,9 +23,13 @@ <h2 itemprop="name">
23
</h2>
24
<data class="muted">{{ self::meta(page=page) }}</data>
25
</header>
26
- {% if page.summary %}
27
- <section itemprop="summary">
28
- {{ page.summary | safe }}
+ {% if page.description or page.summary %}
+ <section itemprop="summary">
+ {% if page.description %}
29
+ {{ page.description | safe }}
30
+ {% else %}
31
+ {{ page.summary | safe }}
32
+ {% endif %}
33
<nav class="readmore"><a itemprop="url" href="{{ page.permalink | safe }}">Read More »</a></nav>
34
</section>
35
{% endif %}
0 commit comments