From 3c0b56c433a4018638751523b8a9389b7a0bec8a Mon Sep 17 00:00:00 2001 From: Diana Date: Tue, 26 Aug 2025 13:31:13 -0500 Subject: [PATCH] add id --- template/components/content_list.go | 2 ++ template/components/content_list.html | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/template/components/content_list.go b/template/components/content_list.go index 34bfb49..62927e6 100644 --- a/template/components/content_list.go +++ b/template/components/content_list.go @@ -1,10 +1,12 @@ package components type ContentList struct { + ID string Items []ContentListItem } type ContentListItem struct { + ID string Text string Description string EndElement string diff --git a/template/components/content_list.html b/template/components/content_list.html index 31af60b..351bcad 100644 --- a/template/components/content_list.html +++ b/template/components/content_list.html @@ -1,8 +1,10 @@ {{define "content_list"}} -