$ curl -O https://download.sculpin.io/sculpin.phar
$ chmod +x sculpin.phar
$ mv sculpin.phar /usr/local/bin/sculpin
Or use the Sculpin Ansible role. :)
app/config
source
$ sculpin generate
builds the things
--server
--watch
--env
---
layout: default
title: Hello!
---
Hi, [PHPSW](https://phpsw.uk)!
app/config
sculpin_site.yml
sculpin_site_ENV.yml
---
title: My PHPSW talk
foo: bar
main_menu_links:
- { title: About, href: / }
- { title: Talks, href: /talks/ }
---
layout: post
title: New Blog Post
draft: yes
---
# My New Blog Post
---
layout: post
title: New Blog Post
draft: yes
tags:
- drupal
- sculpin
- phpsw
---
# My New Blog Post
---
layout: post
title: New Blog Post
draft: yes
tags:
- drupal
- sculpin
- phpsw
tweets: yes
foo: bar
---
# My New Blog Post
---
...
testimonials:
- { name: ..., role: ..., text: ..., url: ... }
- { name: ..., role: ..., text: ..., url: ... }
- { name: ..., role: ..., text: ..., url: ... }
---
{% for testimonial in page.testimonials %}
{{ testimonial.name }} - {{ testimonial.role }}
{{ testimonial.text }}
{% endfor %}
Sculpin does custom content types!
# app/config/sculpin_kernel.yml
sculpin_content_types:
projects:
permalink: projects/:slug_title/
---
title: My Projects
layout: default
use:
- projects
---
{% for project in data.projects %}
{{ project.title }}
{% endfor %}
Integrating @getsculpin and some @symfony components for new @supportyard website is very powerful and productive. Should blog about it!
— Pera Jovic (@_korso_) October 8, 2015