mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 14:50:27 +00:00
Fixed rendering articles.
This commit is contained in:
2
main.go
2
main.go
@@ -107,7 +107,7 @@ func serveBlogArticle() http.HandlerFunc {
|
|||||||
// track the hit if the article was found, otherwise we don't care
|
// track the hit if the article was found, otherwise we don't care
|
||||||
tracker.Hit(r)
|
tracker.Hit(r)
|
||||||
|
|
||||||
tplCache.Render(w, "article.html", struct {
|
tplCache.RenderWithoutCache(w, "article.html", struct {
|
||||||
Title string
|
Title string
|
||||||
Content template.HTML
|
Content template.HTML
|
||||||
Published time.Time
|
Published time.Time
|
||||||
|
|||||||
Reference in New Issue
Block a user