summaryrefslogtreecommitdiff
path: root/components/index.html
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-06-05 08:22:36 +0300
committerGrailFinder <wohilas@gmail.com>2024-06-05 08:22:36 +0300
commit01f9a9f5d71450a0c80195058245fdebe88796bd (patch)
treefd50f3fdd0585fd1ff6cf431af613fa01b86e439 /components/index.html
parent60fc1773241195f4988ed8066e019bbc42267085 (diff)
Feat: recommendations for anon and user
Diffstat (limited to 'components/index.html')
-rw-r--r--components/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/index.html b/components/index.html
index 3693a56..a1d9293 100644
--- a/components/index.html
+++ b/components/index.html
@@ -10,9 +10,10 @@
</head>
<body>
<div id="ancestor">
- {{ if not . }}
+ {{ if not .Username }}
<div>
{{ template "auth" }}
+ {{ template "recommendation" .Recommendations}}
</div>
{{ else }}
<div>
@@ -20,6 +21,7 @@
</div>
<div>
{{ template "showformbtn" }}
+ {{ template "recommendation" .Recommendations}}
</div>
{{ end }}
</div>