1
0

Instead of Article keep section name as Stuff.

This commit is contained in:
Alexander Andreev 2024-06-21 00:53:20 +04:00
parent 5fedded1de
commit 0cec3b0bec
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -6,7 +6,7 @@ import "net/http"
import "git.arav.su/Arav/dwelling-home/pkg/util" import "git.arav.su/Arav/dwelling-home/pkg/util"
templ Article(title, description, body, urlName string, date time.Time, r *http.Request) { templ Article(title, description, body, urlName string, date time.Time, r *http.Request) {
@base(title + " - Article", description, "", "/stuff/article/"+urlName, articleHead()) { @base(title + " - Stuff", description, "", "/stuff/article/"+urlName, articleHead()) {
<article> <article>
<header> <header>
<h2>{ title }</h2> <h2>{ title }</h2>