aboutsummaryrefslogtreecommitdiffstats
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/template.go b/template.go
index b7d1b1f..6a9c6fe 100644
--- a/template.go
+++ b/template.go
@@ -58,6 +58,9 @@ var tpltext = `<!doctype html>
58 {{- if ne (len $uriParts) 0 -}} 58 {{- if ne (len $uriParts) 0 -}}
59 <span class="location__slash">/</span> 59 <span class="location__slash">/</span>
60 {{- end -}} 60 {{- end -}}
61 {{- if and (eq $page.Protocol "gopher") (eq (len $uriParts) 1) -}}
62 {{- $uriLast = $uriLast | trimLeftChar -}}
63 {{- end -}}
61 <span class="location__uripart">{{ $uriLast }}</span> 64 <span class="location__uripart">{{ $uriLast }}</span>
62 </div> 65 </div>
63 <div class="actions"> 66 <div class="actions">