-
-
Save manton/588f9436f1858e83f7e065970798aa72 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
{{ define "main" }} | |
<ul id="post-list"> | |
{{ $paginator := .Paginate (union .Site.Taxonomies.categories.essays .Site.Taxonomies.categories.photos) 25 }} | |
{{ range $paginator.Pages }} | |
<li> | |
<article> | |
{{ if .Title }} | |
<section class="post-body"> | |
<header> | |
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> | |
</header> | |
<section class="post-body"> | |
{{ .Content }} | |
</section> | |
</section> | |
{{ else }} | |
{{ .Content }} | |
{{ end }} | |
<a href="{{ .Permalink }}" class="u-url"> | |
<aside class="dates"> | |
<time datetime="{{ .Date.Format "2006-01-02 15:04:05 -0700" }}" class="dt-published">→ {{ .Date.Format "3:04 PM, Jan 2" }}</time> | |
</aside> | |
</a> | |
</article> | |
</li> | |
<span class="separator"><span class="divider"></span></span> | |
{{ end }} | |
</ul> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment