{{ $author := index .Site.Params.authors .Params.author }}
{{ if ne .Site.Params.hide_author true }}
{{ with .Params.author }}
{{ $author.name }}
{{ if $author.email }}
{{ end }}
{{ if $author.twitter }}
{{ end }}
{{ if $author.github }}
{{ end }}
{{ end }}
{{ else }}
{{ .Site.Params.author }}
{{ end }}