add ghost api basics

This commit is contained in:
2022-05-19 22:08:42 -04:00
parent 5fb0d147ed
commit 475def08ca
11 changed files with 231 additions and 22 deletions

11
posts/index.njk Normal file
View 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" }}