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

15 lines
358 B
Plaintext

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>
}
}