diff --git a/golang/assets/templates/article.html b/golang/assets/templates/article.html index d2ad55d..c119940 100644 --- a/golang/assets/templates/article.html +++ b/golang/assets/templates/article.html @@ -1,22 +1,23 @@ {{ define "content" }} -
+
+ {{ range . }} -
-
-

{{ .Title }}

-

- {{ .ShortSource }} - {{ .PublishDate }} - {{if .AiSummarized}} - ai summary - {{end}} -

-

{{ .Summary }}

- Link +
+
{{ .Title }}
+
+

+ {{ .ShortSource }} + {{ .PublishDate }} + {{if .AiSummarized}} + ai summary + {{end}} +

+

{{ .Summary }}

+ Link
{{ end }} -
+
{{ end }} diff --git a/golang/assets/templates/layout.html b/golang/assets/templates/layout.html index 6428e53..931bb30 100644 --- a/golang/assets/templates/layout.html +++ b/golang/assets/templates/layout.html @@ -12,10 +12,10 @@ {{/* Logo with navigation */}} @@ -42,9 +42,9 @@
-