This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_talks/test-drive-twig-with-sculpin.md

1.1 KiB

id title type slides code tags tweets
test-drive-twig-with-sculpin Test Drive Twig with Sculpin Talk
url embed
https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin <script async class="speakerdeck-embed" data-id="54589d2e50a3476a9a75aed809e9edf1" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
https://github.com/opdavies/sculpin-demo
conference
drupalcamp
drupalcamp-north
sculpin
twig
yes

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.