Skip to content

Instantly share code, notes, and snippets.

@polarblau
Created January 13, 2013 20:28
Show Gist options
  • Save polarblau/4526058 to your computer and use it in GitHub Desktop.
Save polarblau/4526058 to your computer and use it in GitHub Desktop.
meta_wordpress example
:docs
Template Name: Home
- content_for :page_lift do
= partial "home_lift"
%article
.content-wrapper
= php "if (have_posts()):" do
= php "while (have_posts()): the_post()" do
%header
%h2= php "the_title()"
%section.body
= php "the_content()"
= php "endwhile"
= php "endif"
= php "aside_categories_lists()"
= partial "secondary_lifts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment