summary refs log tree commit diff stats
path: root/web
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-29 16:10:59 +0530
committerAndinus <andinus@nand.sh>2020-03-29 16:10:59 +0530
commita6826055bf4e6a23f80da047ccfe4509a209f3a6 (patch)
treef2bb2bec35ee5e61cb42f4edffb04368a0f8ba60 /web
parent7b95d6b80dd2d1efb26f7c515383abd4f0dc9d42 (diff)
downloadperseus-a6826055bf4e6a23f80da047ccfe4509a209f3a6.tar.gz
Initial perseus rewrite
Diffstat (limited to 'web')
-rw-r--r--web/templates/login.html (renamed from web/login.html)2
-rw-r--r--web/templates/register.html (renamed from web/register.html)2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/login.html b/web/templates/login.html
index cd0d6a7..88024e3 100644
--- a/web/login.html
+++ b/web/templates/login.html
@@ -40,7 +40,7 @@
 	&nbsp;/&nbsp;
 	<a href="https://andinus.nand.sh/perseus">Perseus</a>
 	<span style="float:right">
-	  Perseus {{ .Version }}
+	  Perseus {{ if .Version}} {{ . }} {{ end }}
 	  &nbsp;/&nbsp;
 	  <a href="https://tildegit.org/andinus/perseus">
 	    Source Code
diff --git a/web/register.html b/web/templates/register.html
index c351ae1..998e012 100644
--- a/web/register.html
+++ b/web/templates/register.html
@@ -40,7 +40,7 @@
 	&nbsp;/&nbsp;
 	<a href="https://andinus.nand.sh/perseus">Perseus</a>
 	<span style="float:right">
-	  Perseus {{ .Version }}
+	  Perseus {{ if .Version}} {{ . }} {{ end }}
 	  &nbsp;/&nbsp;
 	  <a href="https://tildegit.org/andinus/perseus">
 	    Source Code