summary history branches tags files
commit:dd93cbaa639e4647b60436caa07a8db68d5fb0d6
author:Trevor Bentley
committer:Trevor Bentley
date:Sun Jan 15 01:26:28 2023 +0100
parents:d4100e85ae2c8d7760b55773133fe9d095fa1b1a
make website link an actual link
diff --git a/templates/summary.html b/templates/summary.html
line changes: +4/-0
index 32ab63c..a8ac5ce
--- a/templates/summary.html
+++ b/templates/summary.html
@@ -18,7 +18,11 @@
   </tr>
   <tr class="website">
     <td class="field website">Website:</td>
+    {% if metadata.website -%}
+    <td class="value website"><a href="{{ metadata.website }}">{{metadata.website | default(value="[none]")}}</a></td>
+    {% else -%}
     <td class="value website">{{metadata.website | default(value="[none]")}}</td>
+    {% endif-%}
   </tr>
   <tr class="clone">
     <td class="field clone">Clone URL:</td>