test changes for setting up "pages" page
This commit is contained in:
5
src/blog/three-albums-february-2023.md
Normal file
5
src/blog/three-albums-february-2023.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: three albums - february 2023
|
||||
---
|
||||
|
||||
one month in and i've already thrown myself in the deep end
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: three albums - january 2022
|
||||
title: three albums - january 2023
|
||||
---
|
||||
|
||||
## 3. you always will be - dylan henner
|
3
src/blog/three-albums-march-2023.md
Normal file
3
src/blog/three-albums-march-2023.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: three albums - january 2023
|
||||
---
|
@ -155,6 +155,11 @@ aside {
|
||||
|
||||
}
|
||||
|
||||
article>p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* body > footer {
|
||||
margin-top: 4rem;
|
||||
padding: 2rem 1rem 1.5rem 1rem;
|
||||
|
17
src/pages.md
Normal file
17
src/pages.md
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
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 }})
|
||||
{% endfor %}
|
Reference in New Issue
Block a user