✨ add ghost api basics
This commit is contained in:
11
posts/index.njk
Normal file
11
posts/index.njk
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
pagination:
|
||||
data: collections.posts
|
||||
size: 1
|
||||
alias: post
|
||||
addAllPagesToCollections: true
|
||||
layout: 'layouts/post.njk'
|
||||
permalink: '{{ post.url }}'
|
||||
---
|
||||
|
||||
{{ post.html | safe if post.html else "Post content not found" }}
|
Reference in New Issue
Block a user