feat: move all content to content dir
This commit is contained in:
parent
8550a2d98b
commit
900377c334
5 changed files with 15 additions and 4 deletions
10
src/content/pages/posts.md
Normal file
10
src/content/pages/posts.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
permalink: /posts/index.html
|
||||
layout: "base"
|
||||
---
|
||||
|
||||
{% for post in collections.posts %}
|
||||
{{ post.fileSlug }}
|
||||
{% endfor %}
|
||||
|
||||
Here are all my posts!
|
5
src/content/posts/posts.json
Normal file
5
src/content/posts/posts.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"layout": "base",
|
||||
"tags": "posts",
|
||||
"permalink": "posts/{{ page.fileSlug }}/index.html"
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"layout": "base",
|
||||
"tags": "posts"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue