initial commit

This commit is contained in:
Josh Johnson 2016-02-19 23:35:42 -05:00
commit f92932b947
44 changed files with 851 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{{ $paginator := .Paginate (where .Data.Pages "Type" "!=" "page") }}
{{ range .Paginator.Pages }}
{{ $url := replace .Permalink .Site.BaseURL "" }}
{{ if or (eq .Type "microposts") (eq .Type "micropost") }}
{{ partial "preview_micropost.html" . }}
{{ end }}
{{ if or (eq .Type "photos") (eq .Type "photo") }}
{{ partial "preview_photo_post.html" . }}
{{ end }}
{{ if or (eq .Type "posts") (eq .Type "post") }}
{{ partial "preview_post.html" . }}
{{ end }}
{{ end }}
{{ partial "pagination.html" . }}