12345678910111213141516171819202122232425 |
- <script type="text/html" id="content-template">
- <article id="post-<%= post.ID %>" class="post">
- <div class="entry-content">
- <header class="entry-header">
- <div class="entry-meta">
- <% postDate = new Date( post.date ); %>
- <time class="date">
- <% print( ( postDate.getMonth() + 1 ) + '/' + postDate.getDate() + '/' + postDate.getFullYear() ); %>
- </time>
- </div>
- <h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title %></a></h1>
- <% if ( 'post' === post.type ) { %>
- <% } %>
- </header>
- <%= post.content %>
- <div class="clear"> </div>
- </div>
- </article>
- </script>
- <script type="text/html" id="more-button-template">
- <div class="more-posts">
- <a class="more-button button btn-lg btn btn-danger" href="#"><?php esc_html_e( 'More', 'dw' ); ?></a>
- </div>
- </script>
|