update page page to bring in a dummy title if the title is empty
This commit is contained in:
@ -6,7 +6,7 @@ title: pages
|
|||||||
{% for tag in collections.tagsList %}
|
{% for tag in collections.tagsList %}
|
||||||
{{tag}}
|
{{tag}}
|
||||||
{% for post in collections[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 %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
Reference in New Issue
Block a user