Skip to content

Commit ed3925d

Browse files
committed
Update index.html
1 parent 0a6b83c commit ed3925d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

index.html

+11-9
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ <h2>On This Page:</h2>
1818

1919
<div class="posts">
2020
{% for post in paginator.posts %}
21-
{% unless post.categories contains "strange-researches" or post.categories contains "cities" %}
22-
<article class="post">
23-
<!-- <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> -->
24-
<div class="entry">
25-
<p>{{ post.content | truncate: 600 }}</p> <!-- Display first 500 characters of post content -->
26-
</div>
27-
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
28-
</article>
29-
{% endunless %}
21+
<article class="post">
22+
<!-- <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> -->
23+
<div class="post-date">
24+
<p>{{ post.date | date: "%B %d, %Y" }}</p> <!-- Display the post date at the top -->
25+
</div>
26+
<div class="entry">
27+
<p>{{ post.content | truncate: 600 }}</p> <!-- Display first 500 characters of post content -->
28+
</div>
29+
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
30+
</article>
31+
{% endunless %}
3032
{% endfor %}
3133
</div>
3234

0 commit comments

Comments
 (0)