mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use <div> instead of <article> for post list
The <article> tag is for self-contained content, which the post list isn't really. I hope that this change makes search engines display the blog's introduction instead of the first post's introduction in their results.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{% macro post_link(page) %}
|
||||
<article>
|
||||
<div>
|
||||
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
|
||||
<div class="post-summary">
|
||||
{{ page.summary | safe}}
|
||||
<a class="read-more" href="/{{ page.path | safe }}">read more…</a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{% endmacro post_link %}
|
||||
|
||||
{% macro utterances() %}
|
||||
|
||||
Reference in New Issue
Block a user