Link in cgit.sxemacs.org
authorSteve Youngs <steve@sxemacs.org>
Mon, 18 May 2015 05:02:36 +0000 (15:02 +1000)
committerSteve Youngs <steve@sxemacs.org>
Mon, 18 May 2015 05:02:36 +0000 (15:02 +1000)
* download.html: Add a link to our gitweb.

* templates/menu.template: Add git.html

* git.html: New.  Iframe's cgit.sxemacs.org

Signed-off-by: Steve Youngs <steve@sxemacs.org>
download.html
git.html [new file with mode: 0755]
templates/menu.template

index 7e2a88a..45ca742 100755 (executable)
     <h3>SXEmacs Repos</h3>
     <p>
       Our main distribution method is via our git repository at
     <h3>SXEmacs Repos</h3>
     <p>
       Our main distribution method is via our git repository at
-      http://git.sxemacs.org/sxemacs
-    </p>
-    <p>
-      That URL is not a hyperlink because the SXEmacs git repository
-      is only accessible with a git client.
+      http://git.sxemacs.org/sxemacs. <a href="/git.html">View the
+      source</a>. 
     </p>
     <h3>How to get the source with git</h3>
     <p>Getting the source via git is easy:</p>
     </p>
     <h3>How to get the source with git</h3>
     <p>Getting the source via git is easy:</p>
diff --git a/git.html b/git.html
new file mode 100755 (executable)
index 0000000..8cc3f7e
--- /dev/null
+++ b/git.html
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>    <!-- -*- html -*- -->
+<!--#set var="css" value="sxemacs.css" -->
+<!--#set var="title" value="SXEmacs Sources" -->
+<!--#set var="banner" value="Browse Our Git Repo" -->
+<!--#set var="copyright" value="2015 Steve Youngs" -->
+
+<!--#include virtual="/templates/header.template" -->
+<!--#include virtual="/templates/menu.template" -->
+<!--#include virtual="/templates/support.template" -->
+    <iframe src="http://cgit.sxemacs.org/?p=sxemacs;a=summary" width="100%"
+      height="1100" frameborder="0">
+    </iframe><br />
+<!--#include virtual="/templates/copyright.template" -->
+<!--#include virtual="/templates/stats.template" -->
+<!--#include virtual="/templates/footer.template" -->
index c1fcbbc..ab0a787 100644 (file)
@@ -14,6 +14,9 @@ havoc with the SSI magic.
       <a href="/download.html"
        title="Latest Release: <!--#include virtual="/.release.template" -->">Download</a>
     </li>
       <a href="/download.html"
        title="Latest Release: <!--#include virtual="/.release.template" -->">Download</a>
     </li>
+    <li>
+      <a href="/git.html" title="Browse the git repo">View Source</a>
+    </li>
     <li>
       <a href="/screenshots.html"
        title="See SXEmacs in action">Screenshots</a>
     <li>
       <a href="/screenshots.html"
        title="See SXEmacs in action">Screenshots</a>