summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2019-04-23 06:40:23 -0300
committerSoniEx2 <endermoneymod@gmail.com>2019-04-23 06:40:23 -0300
commit32b581a6c40f362fade02fd6b7efe19abca09237 (patch)
tree6d05fb847fa1eb4d7f9402745c61ce11c5b65ac0
parent828d0ac9cf2a6801ce59809c2e05b98085669035 (diff)
Get rid of //, it makes no sense here
-rwxr-xr-xganarchy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ganarchy.py b/ganarchy.py
index ea93613..d698f7e 100755
--- a/ganarchy.py
+++ b/ganarchy.py
@@ -50,7 +50,7 @@ TEMPLATE = """<!DOCTYPE html>
     </head>
     <body>
         <h1>{{ project_title|e }}</h1>
-        <p>Tracking <span id="project_commit"><a href="web+ganarchy://{{ project_commit }}">{{ project_commit }}</a></span></p>
+        <p>Tracking <span id="project_commit"><a href="web+ganarchy:{{ project_commit }}">{{ project_commit }}</a></span></p>
         <div id="project_body"><p>{{ project_body|e|replace("\n\n", "</p><p>") }}</p></div>
         <ul>
         {% for url, msg, img in repos -%}
@@ -61,7 +61,7 @@ TEMPLATE = """<!DOCTYPE html>
         <p>
             <a href="/">Main page</a>.
             <!-- commented out because browsers suck :( -->
-            <!--<a href="{{ base_url|e }}" onclick="event.preventDefault(); navigator.registerProtocolHandler('web+ganarchy', this.href + 'project/%s', 'GAnarchy');">Register web+ganarchy:// handler</a>.-->
+            <!--<a href="{{ base_url|e }}" onclick="event.preventDefault(); navigator.registerProtocolHandler('web+ganarchy', this.href + 'project/%s', 'GAnarchy');">Register web+ganarchy: URI handler</a>.-->
         </p>
     </body>
 </html>