Last active
August 29, 2015 14:01
-
-
Save tbranyen/4566f973c6771590c63c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%inject "layouts/index" as "content"%} | |
<section class="home-page center"> | |
<ul class="posts"> | |
{%each posts as post%} | |
<li class="post"> | |
<a href="/post/{{post.slug}}"><h2>{{post.title}}</h2></a> | |
</li> | |
{%endeach%} | |
</ul> | |
</section> | |
{%endinject%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>{{title}}</title> | |
</head> | |
<body> | |
{%partial content%} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment