image placement and sizes
This commit is contained in:
parent
0b3a99f097
commit
be0867d3fa
3 changed files with 30 additions and 9 deletions
|
|
@ -25,5 +25,5 @@ func ProcessImage(fileName string) string {
|
|||
}
|
||||
|
||||
templ AvifImage(srcPath, alt string) {
|
||||
<img src={ ProcessImage(srcPath) } alt={ alt }/>
|
||||
<img class="wide" src={ ProcessImage(srcPath) } alt={ alt }/>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue