Skip to content

Commit e7b1246

Browse files
committed
Update index.html
1 parent ed3925d commit e7b1246

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

index.html

+14-24
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,23 @@
22
layout: default
33
---
44

5-
<!-- <div class="toc">
6-
<h2>On This Page:</h2>
7-
<ul>
8-
{% for post in paginator.posts %}
9-
{% unless post.categories contains "strange-researches" or post.categories contains "cities" %}
10-
<li>
11-
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
12-
<span class="post-date">- {{ post.date | date: "%B %d, %Y" }}</span>
13-
</li>
14-
{% endunless %}
15-
{% endfor %}
16-
</ul>
17-
</div> -->
5+
---
6+
layout: default
7+
---
188

199
<div class="posts">
2010
{% for post in paginator.posts %}
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 %}
11+
{% unless post.categories contains "strange-researches" or post.categories contains "cities" %}
12+
<article class="post">
13+
<div class="post-date">
14+
<p>{{ post.date | date: "%B %d, %Y" }}</p> <!-- Display the post date at the top -->
15+
</div>
16+
<div class="entry">
17+
<p>{{ post.content | truncate: 600 }}</p> <!-- Display first 600 characters of post content -->
18+
</div>
19+
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
20+
</article>
21+
{% endunless %}
3222
{% endfor %}
3323
</div>
3424

0 commit comments

Comments
 (0)