Skip to content

Experimenting with generating static site from data retrieved from Wordpres REST API

Notifications You must be signed in to change notification settings

garypburton/garypburton-assemble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Static site generator using data from Wordpress API

Experimenting with different ways of using Wordpress. In this instance using it purely as a CMS to edit page content and then generate a static site using that data.

Grunt is used to curl the API end point and create the empty handlebars templates (if they don't exist) and also seperate data files per page.

npm install

To pull in data from wordpress API and generate data files run

grunt dataInit

Then run

grunt serve

About

Experimenting with generating static site from data retrieved from Wordpres REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published