We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad557a commit 4db35cfCopy full SHA for 4db35cf
index.html
@@ -2,17 +2,11 @@
2
layout: default
3
---
4
5
-<div class="posts">
6
- {% for post in site.posts %}
7
- <article class="post">
8
-
9
- <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
10
11
- <div class="entry">
12
- {{ post.content | truncatewords:40}}
13
- </div>
14
15
- <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
+ {% for post in site.posts %}
+<section>
+ <article id="post-{{ page.wordpress_id }}" <?php post_class(); ?>>
+ <h1 class="post-title"><a href="{{ page.link }}">{{ page.title }}</a></h1>
+ {{ post.content | truncatewords:40}}
16
</article>
17
- {% endfor %}
18
-</div>
+</section>
+{% endfor %}
0 commit comments