deserki
This commit is contained in:
parent
ef48719cf5
commit
c489aa7f3d
6 changed files with 16 additions and 6 deletions
|
|
@ -18,10 +18,10 @@ templ card(product types.Product) {
|
|||
</div>
|
||||
}
|
||||
|
||||
templ WyrobyCiasta(products []types.Product) {
|
||||
templ Wyroby(products []types.Product, page string) {
|
||||
@layout("wyroby") {
|
||||
<main>
|
||||
@wyrobyHeader("wyroby")
|
||||
@wyrobyHeader(page)
|
||||
<div id="wyroby">
|
||||
for _, product:= range products {
|
||||
@card(product)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue