Skip to content

Instantly share code, notes, and snippets.

@datacodesolutions
Last active December 27, 2015 10:39
Show Gist options
  • Save datacodesolutions/7313063 to your computer and use it in GitHub Desktop.
Save datacodesolutions/7313063 to your computer and use it in GitHub Desktop.
{% for post in posts %}
<div class="blog_post">
<div class="blog_col">
<a class="post_title_cell post_title" href="{{ url('node/' ~ post.nid) }}">
<h3>{{ post.title }}</h3>
<div class="comments">0 Comments</div>
</a>
<div class="cell_180x135 meta">
<h4>{{ post.date |date('M m, Y')}}</h4>
<a class="category" href="{{ url('blog/category/' ~ post.nid) }}">{{ post.category }}</a><br>
<a class="author" href="/about/team/penny-mann">Penny Mann</a>
</div>
<div class="cell_desc">
<h4 class="list_heading">Tags: </h4>
<ul>
<li><a class="link_arrows_small" href="/blog/filter/service/content-creation">Content Creation</a></li>
<li><a class="link_arrows_small" href="/blog/filter/tag/internet-marketing">Internet Marketing</a></li>
<li><a class="link_arrows_small" href="/blog/filter/service/social-media-apps">Social Media Apps</a>
</li>
</ul>
</div>
</div>
<div class="cell_center">
<a href="{{ url('node/' ~ post.nid) }}">
<img src="{{ content_url(post.image) }}">
</a>
<div class="post_text">
<p>{{ post.body_summary }}</p>
<p><a class="link_arrows_large" href="{{ url('node/' ~ post.nid) }}">Read Full Post</a></p>
</div>
</div>
</div>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment