Skip to content

Commit 4db35cf

Browse files
committed
css
1 parent 1ad557a commit 4db35cf

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

index.html

+7-13
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
layout: default
33
---
44

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>
5+
{% for post in site.posts %}
6+
<section>
7+
<article id="post-{{ page.wordpress_id }}" <?php post_class(); ?>>
8+
<h1 class="post-title"><a href="{{ page.link }}">{{ page.title }}</a></h1>
9+
{{ post.content | truncatewords:40}}
1610
</article>
17-
{% endfor %}
18-
</div>
11+
</section>
12+
{% endfor %}

0 commit comments

Comments
 (0)