Skip to content

Instantly share code, notes, and snippets.

@n8finch
Created September 19, 2016 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n8finch/96180a99c80c77842037af89ff647cf7 to your computer and use it in GitHub Desktop.
Save n8finch/96180a99c80c77842037af89ff647cf7 to your computer and use it in GitHub Desktop.
app-index-genesis-angular-gulp.html
<div ng-controller="Posts" ng-repeat="post in posts">
<article class="single-post post type-post status-publish format-standard has-post-thumbnail entry">
<header class="entry-header">
<h2 class="entry-title"><a href="/posts/{{post.slug}}/">{{post.title.rendered}}</a></h2>
<p class="entry-meta">Posted by {{post.author_name}} on {{post.date | date:'longDate'}}</p>
</header>
<img class="attachment-post-image size-post-image wp-post-image" ng-src="{{post.featured_image_src}}"/>
<div class="entry-content">
<p ng-bind-html="post.excerpt.rendered | to_trusted"></p>
<p><a href="/posts/{{post.slug}}/">Read more...</a></p>
</div>
<footer class="entry-footer">
<p class="entry-meta">
Filed Under: <span class="entry-categories" ng-repeat="cat in post.category_name">{{cat}}{{$last ? '' : ' | '}}</span>
</p>
</footer>
</article>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment