Skip to content

Instantly share code, notes, and snippets.

@laras126
Created October 14, 2015 17:43
Show Gist options
  • Save laras126/9d6a9d729e6e0ea50a30 to your computer and use it in GitHub Desktop.
Save laras126/9d6a9d729e6e0ea50a30 to your computer and use it in GitHub Desktop.
<section class="posts-loop">
{% for post in posts %}
<div class="tease-post">
<div class="contain">
<header class="tease-header">
{# Header content in here #}
</header>
<div class="tease-content">
{# Post excerpt content here #}
</div>
</div>
</div>
{% endfor %}
{# Alternatively, if you wanted to have .tease-header or .tease-content span the entire page and not be contained within the main post div, you could do this: #}
{% for post in posts %}
<div class="tease-post">
<header class="tease-header">
<div class="contain">
{# Header content in here #}
</div>
</header>
<div class="tease-content">
<div class="contain">
{# Post excerpt content here #}
</div>
</div>
</div>
{% endfor %}
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment