changeset 115:1da98bd71b84

Link to snippets from main page
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 13 Sep 2012 14:07:44 -0400
parents 892c7fbd3b35
children 1abdcf1cf5cb
files templates/index.djhtml
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/templates/index.djhtml	Thu Sep 13 13:55:25 2012 -0400
+++ b/templates/index.djhtml	Thu Sep 13 14:07:44 2012 -0400
@@ -34,10 +34,12 @@
             as octave packages. More text to fill up line.
         </p>
     </div><div class="span3">
-        <div class="center-align">
-            <img src="/static/img/snippet.png" />
-            <h2>Post a snippet</h2>
-        </div>
+        <a href="{%url snippet_new %}">
+            <div class="center-align">
+                <img src="/static/img/snippet.png" />
+                <h2>Post a snippet</h2>
+            </div>
+        </a>
         <p>
             Just want to post a quick snippet of code? Do it in the pastebin.
             You don't even have to be registered. Though we'd need some sort