Skip to content

Commit 88a5551

Browse files
committed
css
1 parent 7853e97 commit 88a5551

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

_layouts/page.html

+6-8
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
layout: default
33
---
44

5-
<article class="page">
6-
7-
<h1>{{ page.title }}</h1>
8-
9-
<div class="entry">
10-
{{ content }}
11-
</div>
12-
</article>
5+
<section>
6+
<article id="post-{{ page.wordpress_id }}" class="post-{{ page.wordpress_id }} post type-post status-publish format-standard hentry category-other tag-101 tag-1003 tag-32">
7+
<h1 class="post-title"><a href="{{ page.link }}">{{ page.title }}</a></h1>
8+
{{ content }}
9+
</article>
10+
</section>

_layouts/post.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
---
44

55
<section>
6-
<article id="post-{{ page.wordpress_id }}" <?php post_class(); ?>>
6+
<article id="post-{{ page.wordpress_id }}" class="post-{{ page.wordpress_id }} post type-post status-publish format-standard hentry category-other tag-101 tag-1003 tag-32">
77
<h1 class="post-title"><a href="{{ page.link }}">{{ page.title }}</a></h1>
8-
{{ content }}
8+
{{ content }}
99
</article>
1010
</section>
11-
12-

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% for post in site.posts %}
66
<section>
7-
<article id="post-{{ post.wordpress_id }}" class="post-3360 post type-post status-publish format-standard hentry category-other tag-101 tag-1003 tag-32">
7+
<article id="post-{{ post.wordpress_id }}" class="post-{{ post.wordpress_id }} post type-post status-publish format-standard hentry category-other tag-101 tag-1003 tag-32">
88
<h1 class="post-title"><a href="{{ post.link }}">{{ post.title }}</a></h1>
99
{{ post.content | truncatewords:40}}
1010
</article>

0 commit comments

Comments
 (0)