Skip to content

Instantly share code, notes, and snippets.

@n8finch
Created September 19, 2016 03:11
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/a255f31192238b73f23231cb91784f8b to your computer and use it in GitHub Desktop.
Save n8finch/a255f31192238b73f23231cb91784f8b to your computer and use it in GitHub Desktop.
single-html-template-genesis-angular-gulp.html
<article class="single-post post type-post status-publish format-standard has-post-thumbnail entry"
ng-controller="singleView">
<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.content.rendered | to_trusted"></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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment