package web import "time" import "net/http" import "git.arav.su/Arav/dwelling-home/pkg/util" import "github.com/invopop/ctxi18n/i18n" templ Article(title, description, body, urlName string, date time.Time, r *http.Request) { @base(title + " - " + i18n.T(ctx, "base.section.stuff"), description, "", "/stuff/article/"+urlName, r, articleHead()) {

{ title }

@templ.Raw(body)
} } templ articleHead() { }