diff options
Diffstat (limited to 'layouts/partials/post/page-item.html')
-rw-r--r-- | layouts/partials/post/page-item.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/post/page-item.html b/layouts/partials/post/page-item.html new file mode 100644 index 0000000..1f687c0 --- /dev/null +++ b/layouts/partials/post/page-item.html @@ -0,0 +1,21 @@ +<div class="page-item-container"> + {{ with .Params.image }} + <img src="{{ . }}" class="page-item-image"></img> + {{ end }} + <div class="page-item-content"> + <header> + <time class="page-item-date">{{ .Date.Format "Mon Jan 06, 2006" }}</time> + <h2 class="page-item-title">{{ .Title }}</h2> + </header> + <p class="page-item-summary">{{ .Summary }}</p> + <a href="{{ .Permalink }}" class="page-item-btn {{ if .Params.redirect }}page-item-btn-red{{ end }}"> + {{ if .Params.redirect }}Redirect{{ else }}Read More{{ end }} + </a> + <footer> + {{ partial "post/categories.html" . }} + <span class="separator">|</span> + {{ partial "post/tags.html" . }} + </footer> + </div> +</div> + |