Add support to add a blog using Ghost, creating a separated blog page

This commit is contained in:
Korbs 2024-12-23 16:46:42 -05:00
parent 9d714e3c69
commit 7b3b7b386a
Signed by: Korbs
SSH key fingerprint: SHA256:Q0b0KraMldpAO9oKa+w+gcsXsOTykQ4UkAKn0ByGn5U
10 changed files with 127 additions and 28 deletions

8
src/library/ghost.ts Normal file
View file

@ -0,0 +1,8 @@
import GhostContentAPI from '@tryghost/content-api'
import {Ghost} from "@config"
export const ghostClient = new GhostContentAPI({
url: Ghost.Instance,
key: Ghost.Key,
version: 'v5.0',
})