mirror of
https://github.com/golang/go
synced 2024-11-21 17:44:40 -07:00
remove absolute paths from search results
R=adg CC=golang-dev https://golang.org/cl/216053
This commit is contained in:
parent
1480ce373e
commit
a5c29da313
@ -26,7 +26,7 @@
|
||||
{.repeated section Files}
|
||||
{.repeated section Groups}
|
||||
{.repeated section Infos}
|
||||
<a href="{File.Path|url-src}?h={Query|html-esc}#L{@|infoLine}">{File.Path|html}:{@|infoLine}</a>
|
||||
<a href="{File.Path|url-src}?h={Query|html-esc}#L{@|infoLine}">{File.Path|url-src}:{@|infoLine}</a>
|
||||
<pre>{@|infoSnippet}</pre>
|
||||
{.end}
|
||||
{.end}
|
||||
@ -38,7 +38,7 @@
|
||||
{.repeated section @}
|
||||
<h3 id="Local_{Pak.Path|url-pkg}">package <a href="{Pak.Path|url-pkg}">{Pak.Name|html}</a></h3>
|
||||
{.repeated section Files}
|
||||
<a href="{File.Path|url-src}?h={Query|html-esc}">{File.Path|html}</a>
|
||||
<a href="{File.Path|url-src}?h={Query|html-esc}">{File.Path|url-src}</a>
|
||||
<table class="layout">
|
||||
{.repeated section Groups}
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user