mirror of
https://github.com/golang/go
synced 2024-11-25 00:07:56 -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 Files}
|
||||||
{.repeated section Groups}
|
{.repeated section Groups}
|
||||||
{.repeated section Infos}
|
{.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>
|
<pre>{@|infoSnippet}</pre>
|
||||||
{.end}
|
{.end}
|
||||||
{.end}
|
{.end}
|
||||||
@ -38,7 +38,7 @@
|
|||||||
{.repeated section @}
|
{.repeated section @}
|
||||||
<h3 id="Local_{Pak.Path|url-pkg}">package <a href="{Pak.Path|url-pkg}">{Pak.Name|html}</a></h3>
|
<h3 id="Local_{Pak.Path|url-pkg}">package <a href="{Pak.Path|url-pkg}">{Pak.Name|html}</a></h3>
|
||||||
{.repeated section Files}
|
{.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">
|
<table class="layout">
|
||||||
{.repeated section Groups}
|
{.repeated section Groups}
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user