ok
This commit is contained in:
parent
b95d5c2ee5
commit
a4822fce6c
221 changed files with 353 additions and 81 deletions
17
html/album.templ
Normal file
17
html/album.templ
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package html
|
||||
templ Album(images []string, activePage string, pages []string) {
|
||||
@layout("album") {
|
||||
<main>
|
||||
@albumHeader(activePage, pages)
|
||||
<section>
|
||||
<div id="album-grid">
|
||||
for _, img := range images {
|
||||
<div>
|
||||
@AvifImage("album/"+img, "album", true)
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue