Created
March 14, 2013 16:41
-
-
Save drewm/5162908 to your computer and use it in GitHub Desktop.
Simple Perch Blog archive list. Template files go in perch/templates/blog/
This file contains hidden or 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 | |
perch_blog_date_archive_months('years.html', 'months.html'); | |
?> |
This file contains hidden or 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
<li> | |
<a href="archive.php?year=<perch:blog id="postDateTime" format="Y" />&month=<perch:blog id="postDateTime" format="m" />"> | |
<perch:blog id="postDateTime" format="%B %Y" /> | |
</a> | |
</li> |
This file contains hidden or 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
<perch:before> | |
<ul> | |
</perch:before> | |
<perch:blog id="months" encode="false" /> | |
<perch:after> | |
</ul> | |
</perch:after> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment