Sculpin Symfony2+Composer Based Tool For Your Presentations

So I need to prepare for my presentation at

I was approached by my good old friend @siemensen and I looked what he had done with sculping recently. And I have to say I am impressed with the refactoring he had done to this tool. For me it is like a class on architecture and good practices. So I wanted to have my slides done on this tool and to explore.

Now you are responsible on what you want to look at on my talk 🙂

repo up front

Screen Shot 2013-09-01 at 12.00.46 AM

sculpin generate --watch --server

And profit!

Screen Shot 2013-09-01 at 12.01.22 AM

Screen Shot 2013-09-01 at 12.01.42 AM

The value-added-trick of this blog post is I had to create navigation for the slides on a static site so I did this:

<section class="content">
    <div class="container">
        {% block content %}
            Fallback content. :)
        {% endblock %}
        {% set next_number = page.page_number + 1 %}
        {% set prev_number = (page.page_number - 1) < 0 ? null : page.page_number - 1 %}
        <a href="{{ site.url }}/slide{{ prev_number }}">prev</a> |
        <a href="{{ site.url }}/slide{{ next_number }}">next</a>

and as you can see from the images above I added a page_number on the what they called this? oh! Frontmatter which was a weird name to me. Frontmatter is just the gutter on the top that is between a — and the other —.
Notice you have to leave always a blank line right before the closing —.


undeservingly graced to be enjoying this, good night!