diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-08-19 19:44:11 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-08-19 19:44:11 -0300 |
commit | 951cb2be4b29b65f9675b126ede52cd285528eea (patch) | |
tree | bbc831c28aa8ba159870b311beba1c67144a2f29 | |
parent | 7882ea469da3e8dcf5bcfaac5d847aafbc957f74 (diff) | |
download | luarocks-951cb2be4b29b65f9675b126ede52cd285528eea.tar.gz luarocks-951cb2be4b29b65f9675b126ede52cd285528eea.tar.bz2 luarocks-951cb2be4b29b65f9675b126ede52cd285528eea.zip |
Make anchors more easily accessible from web browsers
-rw-r--r-- | src/luarocks/index.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/luarocks/index.lua b/src/luarocks/index.lua index e1391cce..6147a4d2 100644 --- a/src/luarocks/index.lua +++ b/src/luarocks/index.lua | |||
@@ -27,6 +27,9 @@ a { | |||
27 | color: #0000c0; | 27 | color: #0000c0; |
28 | text-decoration: none; | 28 | text-decoration: none; |
29 | } | 29 | } |
30 | a.pkg { | ||
31 | color: black; | ||
32 | } | ||
30 | a:hover { | 33 | a:hover { |
31 | text-decoration: underline; | 34 | text-decoration: underline; |
32 | } | 35 | } |
@@ -65,7 +68,7 @@ Lua modules available from this location for use with <a href="http://www.luaroc | |||
65 | 68 | ||
66 | local index_package_start = [[ | 69 | local index_package_start = [[ |
67 | <td class="package"> | 70 | <td class="package"> |
68 | <p><a name="$anchor"></a><b>$package</b> - $summary<br/> | 71 | <p><a name="$anchor"></a><a href="#$anchor" class="pkg"><b>$package</b></a> - $summary<br/> |
69 | </p><blockquote><p>$detailed<br/> | 72 | </p><blockquote><p>$detailed<br/> |
70 | $externaldependencies | 73 | $externaldependencies |
71 | <font size="-1"><a href="$original">latest sources</a> $homepage | License: $license</font></p> | 74 | <font size="-1"><a href="$original">latest sources</a> $homepage | License: $license</font></p> |