From 53129bb4b5d088b7fc2195aeec37f14600898c65 Mon Sep 17 00:00:00 2001 From: Suraj Date: Fri, 5 Feb 2016 01:10:11 +0530 Subject: [PATCH] updated for nested category --- templates/home.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/home.html b/templates/home.html index d9ec174..43d34f0 100644 --- a/templates/home.html +++ b/templates/home.html @@ -28,10 +28,11 @@ Low Category: - - {{range .Categories}} - + {{$categories := .Categories}} + {{range $cat := $categories}} + {{end}}