summaryrefslogtreecommitdiff
path: root/result.html
diff options
context:
space:
mode:
Diffstat (limited to 'result.html')
-rw-r--r--result.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/result.html b/result.html
index 2c52d23..91c94cf 100644
--- a/result.html
+++ b/result.html
@@ -68,10 +68,19 @@
<h1>Bin-ки и глогинки.</h1>
<form>
+ {{if .TextLink }}
<fieldset>
- <legend>Link</legend>
- <a href="{{ .Link }}">{{ .Link }}</a>
+ <legend>Text Link</legend>
+ <a href="{{ .TextLink }}">{{ .TextLink }}</a>
</fieldset>
+ {{end}}
+
+ {{if .FileLink }}
+ <fieldset>
+ <legend>File Link</legend>
+ <a href="{{ .FileLink }}">{{ .FileLink }}</a>
+ </fieldset>
+ {{end}}
</form>
</div>
</body>