Sign in
go
/
website
/
bf337fcb5906e516108ecf20b5da58585558d7f2
/
.
/
go.dev
/
_templates
/
layouts
/
article.tmpl
blob: 6b6d7a364f315dbc7dc6f175df98c379798b9b20 [
file
] [
log
] [
blame
]
{{
define
"layout"
}}
<
article
class
=
"Article {{if ne .Section "
/
"}}Article--{{trim .Section "
/
"}}{{end -}}"
>
<h1>
{{.
title
}}</
h1
>
{{.
Content
}}
</
article
>
{{
end
}}