-
-
Save aaronpk/dd700fb9f4b812c72de6 to your computer and use it in GitHub Desktop.
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
<?php | |
echo '<li class="hentry">'; | |
echo '<h3 class="entry-title"><a href="' . $page->permalink . '">' . $page->title . '</a></h3>'; | |
echo '<abbr class="date published updated" title="' . $page->date->format('c') . '"><a href="' . $page->permalink . '" rel="bookmark">' . $page->date->format('F j, Y g:ia T') . '</a></abbr>'; | |
echo '<div class="entry-summary">' . ($page->summary ?: $page->html) . '</div>'; | |
echo '<a href="' . $page->permalink . '" class="continue-reading">Continue reading "' . $page->title . '" →</a>'; | |
echo '<div class="author vcard"><a href="http://aaronparecki.com/" rel="author" class="url fn">Aaron Parecki</a></div>'; | |
echo '</li>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment