{
    {- $quoteText := .Params.text -
    }
}
{
    {- if not $quoteText -
    }
}
  {
    {- $quoteText = trim .Plain "\n\r " -
    }
}
{
    {- end -
    }
}
{
    {- $data := dict "id" .File.BaseFileName "text" $quoteText "author" .Params.author "source" .Params.source -
    }
}
{
    {- $data | jsonify -
    }
}