Created
October 14, 2015 17:43
-
-
Save laras126/9d6a9d729e6e0ea50a30 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
<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