You are here

Conscious Uncoupling -Drupal 8 meets Metalsmith

This site is for archival purposes only. 

Find out what is happening with the Twin Cities Drupal User Group at

Saturday, 3:00pm - 4:00pm
Site Building
Back-end Design & Development
Front-end Design & Development
Experience Level: 
Session Length: 
60 minutes

Conscious Uncoupling -Drupal 8 meets Metalsmith

Drupal 8 is a great back-end content management system that can be used to feed data to all sorts of clients.

This case study describes a project that uses a headless Drupal 8 installation that feeds content to a local Metalsmith-based static-site build process. Server data are used to build pages dynamically at build time using Metalsmith as the site generator and the Nunjucks template engine.

The result combines all the benefits of a static website and the backend data management prowess of Drupal.

This use case is unique in that Drupal is used only to manage content in the backend and then to provide the content to the build process via an API.

In this session we will look closer at the project setup and development workflow.

Learning Objectives & Outcomes: 

Simple Drupal 8 headless setup with JSON API
Development tools to implement the API
Metalsmith setup