Created
March 10, 2019 18:50
-
-
Save eli-oat/e51dea767ff22c49e8a98ef39baeba9d to your computer and use it in GitHub Desktop.
blot archives page w/posts broken out by month
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
<!DOCTYPE html> | |
<html> | |
{{> head}} | |
<body> | |
<header> | |
<h4><a href="/">Β« {{title}}</a></h4> | |
</header> | |
<main> | |
<h1 class="rainbow">Archives</h1> | |
<div style="padding: 0 1em;"> | |
{{#archives}} | |
{{#months}} | |
<h3 class="margin left" id="{{month}}-{{year}}"><a href="#{{month}}-{{year}}"># </a>{{month}}, {{year}}</h3> | |
<ul> | |
{{#entries}} | |
<li style="font-size: 95%;"> | |
<a href="{{url}}">{{#formatDate}}ddd, MMM Do, hh:mm A{{/formatDate}}{{#title}} - π¦ <b><u>{{title}}</u></b>{{/title}}{{#metadata.like-of-title}} | |
- π Liked a thing{{/metadata.like-of-title}}{{#metadata.in-reply-to-title}} - π¬ Replied to a | |
thing{{/metadata.in-reply-to-title}}{{#metadata.photo}} - π· Photo | |
{{/metadata.photo}}{{^metadata.photo}}{{^metadata.in-reply-to-title}}{{^metadata.like-of-title}}{{^title}} | |
- π Oatnote{{/title}}{{/metadata.like-of-title}}{{/metadata.in-reply-to-title}}{{/metadata.photo}}</a> | |
</li> | |
{{/entries}} | |
</ul> | |
{{/months}} | |
{{/archives}} | |
</div> | |
</main> | |
{{> footer}} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment