Skip to content

Commit 81922ad

Browse files
committed
Change for italicized titles
1 parent aaf78ee commit 81922ad

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

_layouts/home.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,4 @@
55
<div class="home">
66
{{ content }}
77
{%- comment -%} This prevents any posts from being displayed on the home page {%- endcomment -%}
8-
</div>
9-
10-
{% for post in site.posts %}
11-
<h2>
12-
<a href="{{ post.url | relative_url }}">
13-
{{ post.title | markdownify | remove: '<p>' | remove: '</p>' }}
14-
</a>
15-
</h2>
16-
{% endfor %}
8+
</div>

_pages/blog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,13 @@ Mostly books but also some other things.
1212
<p>{{ post.excerpt }}</p>
1313
<small>{{ post.date | date_to_string }}</small>
1414
</article>
15+
{% endfor %}
16+
17+
18+
{% for post in site.posts %}
19+
<h2>
20+
<a href="{{ post.url | relative_url }}">
21+
{{ post.title | markdownify | remove: '<p>' | remove: '</p>' }}
22+
</a>
23+
</h2>
1524
{% endfor %}

0 commit comments

Comments
 (0)