{ m.Question }
{humanize.Time(m.EndDate)}
{ m.Description }― {m.User.Name}, { humanize.Time(m.CreatedAt) }
package pages import ( "git.ekzyis.com/ekzyis/delphi.market/server/router/pages/components" "git.ekzyis.com/ekzyis/delphi.market/types" "github.com/dustin/go-humanize" ) // TODO: Add countdown? Use or at least show somewhere precise timestamps? templ Market(m types.Market) { @components.Head()
@components.Nav(){ m.Description }― {m.User.Name}, { humanize.Time(m.CreatedAt) }