From f3a6d7137e81f0f578f97d7c1a865b3db230b716 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 4 Aug 2021 10:10:10 -0300 Subject: [PATCH] fix: timeago Signed-off-by: Carlos Alexandro Becker --- static/templates/index.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/static/templates/index.html b/static/templates/index.html index d333279..db659ed 100644 --- a/static/templates/index.html +++ b/static/templates/index.html @@ -14,7 +14,8 @@ - @@ -28,7 +29,7 @@ {{ with .Details }}

- {{ if .StargazersCount }} + {{ if gt .StargazersCount 0 }} Awesome! {{ else }} Hang in there! @@ -38,7 +39,7 @@ and now has {{ .StargazersCount }} stars.

- {{ if .StargazersCount }} + {{ if gt .StargazersCount 0 }}

README.md as follows: -

+		
 
 ## Stargazers over time
 
@@ -70,11 +71,13 @@
 	{{ end }}
 	{{ else }}
 	
- {{ with .Error }}

{{ . }}

{{ end }} + {{ with .Error }} +

{{ . }}

+ {{ end }}

-
+
@@ -95,7 +98,7 @@