{{- with .Site.Params.dateformat | default "2006-01-02" | .PublishDate.Format -}}
{{- end -}}
{{ T "wordCount" .WordCount }}
{{ T "readingTime" .ReadingTime }}
{{- $comment := .Scratch.Get "comment" | default dict -}}
{{- /* Visitor Count */ -}}
{{- if $comment.enable -}}
{{- if ($comment.valine.enable | and $comment.valine.visitor) | or ($comment.waline.enable | and $comment.waline.visitor) -}}
{{- /* Warning: waline v2 will not be compatible with valine */ -}}
- {{ T "views" }}
{{- else if $comment.waline.enable | and $comment.waline.visitor -}}
- {{ T "views" }}
{{- else if $comment.twikoo.enable | and $comment.twikoo.visitor -}}
- {{ T "views" }}
{{- else if .Site.Params.ibruce.enable | and .Site.Params.ibruce.enablePost -}}
- {{ T "views" }}
{{- end -}}
{{- else if .Site.Params.ibruce.enable | and .Site.Params.ibruce.enablePost -}}
- {{ T "views" }}
{{- end -}}
{{- /* Comment Count */ -}}
{{- if $comment.enable -}}
{{- if $comment.valine.enable | and $comment.valine.commentCount -}}
- {{ T "comments" }}
{{- else if $comment.waline.enable | and $comment.waline.commentCount -}}
- {{ T "comments" }}
{{- else if $comment.twikoo.enable | and $comment.twikoo.commentCount -}}
- {{ T "comments" }}
{{- end -}}
{{- end -}}
{{- /* Featured image */ -}}
{{- $image := $params.featuredimage -}}
{{- with .Resources.GetMatch "featured-image" -}}
{{- $image = .RelPermalink -}}
{{- end -}}
{{- with $image -}}