Skip to content

Instantly share code, notes, and snippets.

@JetFault
Created July 26, 2014 08:44
Show Gist options
  • Save JetFault/5c28865652e6f87b7d27 to your computer and use it in GitHub Desktop.
Save JetFault/5c28865652e6f87b7d27 to your computer and use it in GitHub Desktop.
Recent-Post Ghost
{{! The main content area on the homepage }}
<main id="content" class="content" role="main">
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "recent-post"}}
<ul class="recent-posts">
{{#foreach posts}}
<a href="{{url}}"><li>{{{title}}}</li></a>
{{/foreach}}
<ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment