update page page to bring in a dummy title if the title is empty

This commit is contained in:
2023-03-03 02:30:01 +10:30
committed by GitHub
parent 1a6cf63303
commit 4bf76f76e1

View File

@ -6,7 +6,7 @@ title: pages
{% for tag in collections.tagsList %}
{{tag}}
{% for post in collections[tag] %}
\- [{{ post.data.title }}](/{{ tag }}/{{ post.data.page.fileSlug }})
\- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }})
{% endfor %}
{% endfor %}
</div>