From 27e96305641e7b3fc199d1131094cb1fd534371a Mon Sep 17 00:00:00 2001 From: Avelino Date: Wed, 22 Dec 2021 10:14:01 -0300 Subject: [PATCH] change sitemap to go template Signed-off-by: Avelino --- tmpl/{sitemap.xml => sitemap-tmpl.xml} | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) rename tmpl/{sitemap.xml => sitemap-tmpl.xml} (53%) diff --git a/tmpl/sitemap.xml b/tmpl/sitemap-tmpl.xml similarity index 53% rename from tmpl/sitemap.xml rename to tmpl/sitemap-tmpl.xml index a401f17c..2ede8fed 100644 --- a/tmpl/sitemap.xml +++ b/tmpl/sitemap-tmpl.xml @@ -5,8 +5,14 @@ xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> - - http://www.awesome-go.com/ - 2016-10-10T07:39:03+00:00 - - \ No newline at end of file + + https://www.awesome-go.com/ + 2016-10-10T07:39:03+00:00 + + {{range .}} + + https://www.awesome-go.com/{{.Slug}} + 2016-10-10T07:39:03+00:00 + + {{end}} +