From 7d86c8c1cf25b96d5867c7109802fe284b295703 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sun, 8 Nov 2020 23:02:20 +0100 Subject: [PATCH] Improve Blogroll template --- templates/custom/blogroll.gohtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/custom/blogroll.gohtml b/templates/custom/blogroll.gohtml index daabee8..28f0980 100644 --- a/templates/custom/blogroll.gohtml +++ b/templates/custom/blogroll.gohtml @@ -1,9 +1,11 @@ {{ define "title" }} - Blogroll - {{ .Blog.Title }} + {{ .Data.Title }} - {{ .Blog.Title }} {{ end }} {{ define "main" }}
+

{{ .Data.Title }}

+ {{ md .Data.Description }} {{ $opmlJson := index ( jsonFile "data/opml.json" ) "outline" }} {{ range $opmlJson }} {{ md (printf "%s %s" "##" ._text) }}