Skip to content

Commit 1ef7126

Browse files
committed
Removed unused codes.
1 parent b25ac73 commit 1ef7126

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

tabs/archives.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,6 @@ title: Archives
2020
<div>
2121
{% capture this_day %}{{ post.date | date: "%d" }}{% endcapture %}
2222
{% capture this_month %}{{ post.date | date: "%b" }}{% endcapture %}
23-
24-
{% comment %}
25-
{% if last_day and last_day == this_day %}
26-
{% assign same_day = true %}
27-
{% else %}
28-
{% assign last_day = this_day %}
29-
{% assign same_day = false %}
30-
{% endif %}
31-
32-
{% if last_month and last_month == this_month %}
33-
{% assign same_month = true %}
34-
{% else %}
35-
{% assign last_month = this_month %}
36-
{% assign same_month = false %}
37-
{% endif %}
38-
39-
<span class="date day {% if same_day and same_month %}text-white{% endif %}">{{ this_day }}</span>
40-
<span class="date month small {% if same_day and same_month %}text-white{% else %}text-muted{% endif %}">
41-
{{ this_month }}
42-
</span>
43-
{% endcomment %}
44-
4523
<span class="date day">{{ this_day }}</span>
4624
<span class="date month small text-muted">{{ this_month }}</span>
4725
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>

0 commit comments

Comments
 (0)