add structure for ai short summaries

This commit is contained in:
2025-01-07 15:26:26 +01:00
parent 321ccfe44d
commit 706ebe25a0
5 changed files with 43 additions and 24 deletions

View File

@@ -9,7 +9,7 @@ import (
// List the latest articles using the base template.
func (app *App) Index(w http.ResponseWriter, req *http.Request) {
// get articles
articles, err := app.articles.All(10)
articles, err := app.articles.All(30)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return