underscore.php 835 B

12345678910111213141516171819202122232425
  1. <script type="text/html" id="content-template">
  2. <article id="content" class="single" role="main">
  3. <div class="entry-content">
  4. <header class="entry-header">
  5. <div class="entry-meta">
  6. <% postDate = new Date( post.date ); %>
  7. <time class="date">
  8. <% print( ( postDate.getMonth() + 1 ) + '/' + postDate.getDate() + '/' + postDate.getFullYear() ); %>
  9. </time>
  10. </div>
  11. <h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title %></a></h1>
  12. <% if ( 'post' === post.type ) { %>
  13. <% } %>
  14. </header>
  15. <%= post.content %>
  16. <div class="clear">&nbsp;</div>
  17. </div>
  18. </article>
  19. </script>
  20. <script type="text/html" id="more-button-template">
  21. <div class="more-posts">
  22. <a class="more-button button btn-lg btn btn-danger" href="#"><?php esc_html_e( 'More', 'dw' ); ?></a>
  23. </div>
  24. </script>