Created
August 29, 2016 15:46
-
-
Save n8finch/19f1134365cf812df09e10c3802247a6 to your computer and use it in GitHub Desktop.
genesis-angular-app-index.html
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
<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">{{post.title.rendered}}</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="#/post/{{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