diff options
Diffstat (limited to 'layouts/_default/li-next.html')
-rw-r--r-- | layouts/_default/li-next.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/li-next.html b/layouts/_default/li-next.html index ad7adf1..ced83df 100644 --- a/layouts/_default/li-next.html +++ b/layouts/_default/li-next.html @@ -1,5 +1,4 @@ -<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)" - href="{{ .Permalink }}" class="card blog-card bc-next" rel="bookmark" > +<a href="{{ .Permalink }}" class="card blog-card bc-next" rel="bookmark" > {{ with .Resources.GetMatch "featuredImage" }} <div class="card-img-container"> <p class="card-img-overlay">Next Article</p> @@ -16,7 +15,7 @@ <h2 class="card-title">{{ .Title | markdownify }}</h2> <p class="card-text">{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}</p> <div class="card-subtext muted-text"> - <p>Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p> + <p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p> {{ if (isset .Params "categories") }}<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>{{ end }} </div> </article> |