diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2022-04-19 22:30:42 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2022-04-23 20:03:01 -0230 |
| commit | 0c4551dee05609e484221fe40827cf36a9966a93 (patch) | |
| tree | 2afa2b7fd236a60db2683031759e259f2954cb1d /htdocs/base.html | |
| parent | f75795e0f868f7a0cf2fd914086275d09b9ac930 (diff) | |
| download | samanthony.xyz-0c4551dee05609e484221fe40827cf36a9966a93.zip | |
make navbar display inline in text-based browsers
Diffstat (limited to 'htdocs/base.html')
| -rw-r--r-- | htdocs/base.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/htdocs/base.html b/htdocs/base.html index 5c02174..cc85064 100644 --- a/htdocs/base.html +++ b/htdocs/base.html @@ -17,9 +17,13 @@ {{ $this_section := .Nav.ThisSection }} {{ range .Nav.Links }} {{ if eq .Href $this_section }} - <p>/</p><a class="this-section" href="{{ .Href }}">{{ .Label }}</a> + <a class="this-section" href="{{ .Href }}"> + /<span class="label">{{ .Label }}</span> + </a> {{else }} - <p>|</p><a href="{{ .Href }}">{{ .Label }}</a> + <a href="{{ .Href }}"> + |<span class="label">{{ .Label }}</span> + </a> {{ end }} {{ end }} <hr> |