summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-28 00:36:38 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-28 00:36:38 +0100
commit708125327434ec851100f2df1dbbaca241317b7f (patch)
treebd76e66b3a11b8c9fb83b9adbca7032c660377f4 /templates
parent990a5db0a543c4d69a58ee8a0046adee1c9efbc5 (diff)
Implemented dynamic highlighting of lines.
This currently only works when opening URLs with an anchor.
Diffstat (limited to 'templates')
-rw-r--r--templates/view.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/view.tmpl b/templates/view.tmpl
index 898a08e..267e87f 100644
--- a/templates/view.tmpl
+++ b/templates/view.tmpl
@@ -1,6 +1,7 @@
#extends templates.base
#def head
<link rel="StyleSheet" href="/highlight_stylesheet" type="text/css" />
+ <script type="text/javascript" src="/static/view.js"></script>
#end def
#def content
<p><a href="/">New paste</a></p>