lucasfrey / prismic-blog-handlebars

Prismic default blog but with handlebars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Blog with API-based CMS and handlebars as template engine

This is a fork of the current Prismic Blog example but using Handlebars instead and Pug

Original : https://github.com/prismicio/nodejs-blog/

Node.js blog is a blog template with content managed in prismic.io (an API-based CMS).

You will need to update the config to your current endpoint, in prismic-configuration.js :

apiEndpoint: 'https://****.prismic.io/api/v2'

And also on the template, in main.hbs

<script>window.prismic = { endpoint: 'https://****.prismic.io/api/v2' };</script>

Getting started

Read this guide for instructions to create your repository and use the sample blog.

Todo

  • Add some test
  • Make the template helpers global
  • Set the CSS in a bundle with Webpack (less or sass)
  • Add more handlebars helpers for the template

About

Prismic default blog but with handlebars


Languages

Language:CSS 42.1%Language:JavaScript 39.2%Language:HTML 18.7%