Compare commits

..

2 Commits

Author SHA1 Message Date
Helen Chong 02c8311c38 Use level 3 heading for blog titles 2024-07-31 11:50:57 +08:00
Helen Chong ad87f93e48 Upgrade Eleventy to v3.0.0-alpha.18 2024-07-31 09:14:36 +08:00
3 changed files with 3 additions and 3 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -9,7 +9,7 @@
"@types/bun": "^1.1.6" "@types/bun": "^1.1.6"
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy": "^3.0.0-alpha.17", "@11ty/eleventy": "^3.0.0-alpha.18",
"@11ty/eleventy-navigation": "^0.3.5", "@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^2.0.2", "@11ty/eleventy-plugin-rss": "^2.0.2",
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1", "@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",

View File

@ -26,14 +26,14 @@ eleventyComputed:
<ul class="blog__posts"> <ul class="blog__posts">
{% for post in postList %} {% for post in postList %}
<li class="blog__post"> <li class="blog__post">
<h2 class="blog__post--title"> <h3 class="blog__post--title">
<a href="{{ post.url }}"> <a href="{{ post.url }}">
{% if post.data.title %}{{ post.data.articleTitle }} {% if post.data.title %}{{ post.data.articleTitle }}
{% else %} {% else %}
<code>{{ post.url }}</code> <code>{{ post.url }}</code>
{% endif %} {% endif %}
</a> </a>
</h2> </h3>
<p class="blog__post--time">{{ post.date | formatDate }}</p> <p class="blog__post--time">{{ post.date | formatDate }}</p>
<p>{{ post.data.desc }}</p> <p>{{ post.data.desc }}</p>
</li> </li>