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/2015-07-25-test-drive-twig-with-sculpin.md

28 lines
1.2 KiB
Markdown
Raw Normal View History

2015-09-09 08:18:00 +00:00
---
2015-09-10 01:45:52 +00:00
nav: talks
2015-09-09 08:18:00 +00:00
title: Test Drive Twig with Sculpin
2015-09-12 07:59:49 +00:00
event:
2015-09-12 14:18:07 +00:00
name: DrupalCamp North 2015
2015-09-12 09:19:29 +00:00
website: http://drupalcampnorth.org
location: Sunderland, UK
2016-05-13 23:53:41 +00:00
slides:
embed: <script async class="speakerdeck-embed" data-id="54589d2e50a3476a9a75aed809e9edf1" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin
2015-09-13 08:34:32 +00:00
code: https://github.com/opdavies/sculpin-demo
2015-09-12 14:33:09 +00:00
tags:
- conference
- drupalcamp
- drupalcamp-north
- sculpin
- twig
2015-12-30 23:53:01 +00:00
tweets: yes
2015-09-09 08:18:00 +00:00
---
2016-05-13 23:53:41 +00:00
[Sculpin][1] is a static site generator written in PHP, and based on [Symfony components][2]. It uses [YAML][3] and [Twig][4], which makes it very appealing to Drupal people wanting to learn these in preparation for Drupal 8.
2015-09-10 00:44:51 +00:00
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.
2015-12-29 00:39:54 +00:00
2016-05-13 23:53:41 +00:00
[1]: https://sculpin.io
[2]: http://symfony.com/doc/current/components/index.html
[3]: http://yaml.org
[4]: http://twig.sensiolabs.org