oliverdavies.uk/source/_presentations/test-drive-twig-with-sculpin.md

1.2 KiB

title description speakerdeck code events
Test Drive Twig with Sculpin With Drupal 8 just around the corner, see how you can develop your Twig skills with Sculpin - a static site generator based on Symfony components and Twig.
id ratio url
54589d2e50a3476a9a75aed809e9edf1 1.77777777777778 https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin
https://github.com/opdavies/sculpin-demo
name location url date
DrupalCamp North 2015 Sunderland, UK http://drupalcampnorth.org 2015-07-25

Sculpin is a static site generator written in PHP, and based on Symfony components. It uses YAML and Twig, which makes it very appealing to Drupal people wanting to learn these in preparation for Drupal 8.

This session covered how to install Sculpin itself, as well as how to use it to build a static site from Markdown, HTML and Twig templates. We also covered Sculpin concepts such as content types, themes and partials, and Twig layouts, blocks and inheritance, as well as some tips and tricks that I've found whilst developing with Sculpin.