Skip to content

rafnixg/sapper-starter-ghost

Repository files navigation

Sapper starter Ghost [WIP]

This is a template developed in svelte and sapper taking as reference to https://github.com/TryGhost/Casper/

Running the project

However you get the code, you can install dependencies and run the project in development mode with:

npm install # or yarn
npm run dev

Open up localhost:3000 and start clicking around.

Configuring the project

Edit the src/config.js file whit your integration GHOST data

{
    GhostURL: 'https://demo.ghost.io',
    SiteURL: 'http://localhost:3000/',
    GhostContetKey: '22444f78447824223cefc48062',
    GhostAPIVersion: 'v3'
}

Export

$ npm run export

TODO

  • Ghost API Config
  • Google Analytics Config
  • RSS
  • Metadata SEO & Open Graph
  • Sitemap
  • Image fetch from Ghost
  • Fetch pages
  • Pagination