Commit ed3925d 1 parent 0a6b83c commit ed3925d Copy full SHA for ed3925d
File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ <h2>On This Page:</h2>
18
18
19
19
< div class ="posts ">
20
20
{% 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 %}
30
32
{% endfor %}
31
33
</ div >
32
34
You can’t perform that action at this time.
0 commit comments