Skip to content

Commit 9a35a5b

Browse files
committed
Change how blog URLs are structured, css changes
1 parent 2882d00 commit 9a35a5b

17 files changed

+165
-28
lines changed

_includes/postslist.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
{%- css %}.postlist { counter-reset: start-from {{ (postslistCounter or postslist.length) + 1 }} }{% endcss %}
2-
<ol reversed class="postlist">
1+
<ul reversed class="postlist">
32
{% for post in postslist | reverse %}
43
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}">
54
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
6-
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL yyyy") }}</time>
5+
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL dd, yyyy") }}</time>
76
</li>
87
{% endfor %}
9-
</ol>
8+
</ul>

_includes/projectslist.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
{%- css %}.projectlist { counter-reset: start-from {{ (projectslistCounter or
2-
projectslist.length) + 1 }} }{% endcss %}
3-
<ol reversed class="projectlist">
1+
<ul reversed class="projectlist">
42
{% for project in projectslist | reverse %}
53
<li
64
class="projectlist-item{% if project.url == url %} projectlist-item-active{% endif %}"
@@ -17,4 +15,4 @@
1715
>
1816
</li>
1917
{% endfor %}
20-
</ol>
18+
</ul>

0 commit comments

Comments
 (0)