{{ if .Params.twitter }}
TWITTER {{ .Title }}
{{ else }} {{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
 
{{ .Title }}
{{ if $author }}
Written by {{ $author.name }} on {{ .Date.Format "January 02 2006" }}
{{ else }}
Written on {{ .Date.Format "January 02 2006" }}
{{ end }}
{{ .Summary }}
Read More
{{ end }}