newsbot-portal/internal/views/articles/list.templ

15 lines
358 B
Plaintext
Raw Normal View History

2024-05-12 10:46:00 -07:00
package articles
import (
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
)
templ List(model models.ListArticlesViewModel) {
@layout.WithTemplate() {
for _, item := range model.Items {
{ item.Title }
}
<div>hi </div>
}
}