aboutsummaryrefslogblamecommitdiff
path: root/pkg/tpl/random.templ
blob: 39ce3ffab9d65ee19af8db4493450635747dea49 (plain) (tree)
1
2
3
4
5
6
7
8
9

           


                             

                                    

                                  
         
                                                                                              
 
package tpl

import (
	"sh.org.ru/pkg/model"
)

templ Random(quotes []model.Quote) {
	for _, q := range quotes {
		@Quote(&q)
	}
	<a role="button" hx-get="/random" hx-swap="outerHTML">Загрузить ещё...</a>
}