summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-13 15:34:12 -0600
committerJeff Carr <[email protected]>2024-02-13 15:34:12 -0600
commit270a08696391c6f80a58ac5d2ed6765ddb7869ba (patch)
treeb141699d3b260b28119792f378516dc89e24cb94
parentebeea1464ebafc1b6c69b725833f6f8cfc432d5c (diff)
added link to a demo video
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--indexHtml.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/indexHtml.go b/indexHtml.go
index af32e57..19a6e95 100644
--- a/indexHtml.go
+++ b/indexHtml.go
@@ -131,7 +131,11 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri
fmt.Fprintln(w, " <td>"+version+"</td>") // version
fmt.Fprintln(w, " <td>"+vtime+"</td>") // dev version
- fmt.Fprintln(w, " <td></td>") // dev version
+ if gourl == "go.wit.com/apps/helloworld" {
+ fmt.Fprintln(w, " <td><a href=\"http://mirrors.wit.com/guidemo/helloworld-demo.webm\">Video Demo</a> </td>") // dev version
+ } else {
+ fmt.Fprintln(w, " <td></td>") // dev version
+ }
fmt.Fprintln(w, " <td>"+desc+"</td>")
// fmt.Fprintln(w, " <td> <a href=\"//"+gourl+"\">"+giturl+"</a></td>")
fmt.Fprintln(w, " </tr>")