From 5ae2a829ab5291c57a36fc0d816337069b237c62 Mon Sep 17 00:00:00 2001 From: Marvin Blum Date: Sat, 4 Jul 2020 01:14:01 +0200 Subject: [PATCH] Fixed rendering articles. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 40e161f..cd0ac92 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func serveBlogArticle() http.HandlerFunc { // track the hit if the article was found, otherwise we don't care tracker.Hit(r) - tplCache.Render(w, "article.html", struct { + tplCache.RenderWithoutCache(w, "article.html", struct { Title string Content template.HTML Published time.Time