huge restructure to give flexibility with blog posts and mobile layouts
This commit is contained in:
16
src/pages.md
16
src/pages.md
@ -3,15 +3,9 @@ layout: layout/base.njk
|
||||
title: pages
|
||||
---
|
||||
|
||||
{% if collections.blog.length > 0 %}
|
||||
blog posts
|
||||
{% endif %}
|
||||
{% for post in collections.blog | reverse %}
|
||||
\- [{{ post.data.title }}](/blog/{{ post.data.page.fileSlug }})
|
||||
{% endfor %}
|
||||
{% if collections.music.length > 0 %}
|
||||
music
|
||||
{% endif %}
|
||||
{% for post in collections.music | reverse %}
|
||||
\- [{{ post.data.title }}]({{ post.data.page.fileSlug }})
|
||||
{% for tag in collections.tagsList %}
|
||||
{{tag}}
|
||||
{% for post in collections[tag] %}
|
||||
\- [{{ post.data.title }}](/{{ tag }}/{{ post.data.page.fileSlug }})
|
||||
{% endfor %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user