Commit 09e4d860 authored by Andrew Gerrand's avatar Andrew Gerrand

godoc: add separators between quick reference topics

R=bradfitz, dangabrad
CC=golang-dev
https://golang.org/cl/3433042
parent b0b37a62
...@@ -92,6 +92,9 @@ h1#title { ...@@ -92,6 +92,9 @@ h1#title {
#nav-main .quickref { #nav-main .quickref {
color: #444; color: #444;
} }
#nav-main .quickref .sep {
color: #999;
}
#search { #search {
width: 100px; width: 100px;
margin-left: 0.5em; margin-left: 0.5em;
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
<form method="GET" action="/search"> <form method="GET" action="/search">
{.section PkgRoots} {.section PkgRoots}
{.repeated section PkgRoots} {.repeated section PkgRoots}
<a href="/pkg/{@|html-esc}">{@|html-esc}</a> <a href="/pkg/{@|html-esc}">{@|html-esc}</a> <span class="sep">|</span>
{.end} {.end}
{.or} {.or}
References: References:
{.end} {.end}
<a href="/pkg/">Packages</a> <a href="/pkg/">Packages</a> <span class="sep">|</span>
<a href="/cmd/">Commands</a> <a href="/cmd/">Commands</a> <span class="sep">|</span>
<a href="/doc/go_spec.html">Specification</a> <a href="/doc/go_spec.html">Specification</a>
<input id="search" type="text" name="q" value="{.section Query}{Query|html-esc}{.or}code search{.end}" class="{.section Query}{.or}inactive{.end}" /> <input id="search" type="text" name="q" value="{.section Query}{Query|html-esc}{.or}code search{.end}" class="{.section Query}{.or}inactive{.end}" />
</form> </form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment