aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/template.go b/template.go
index b9e8b30..ac7f674 100644
--- a/template.go
+++ b/template.go
@@ -43,7 +43,10 @@ var tpltext = `<!doctype html>
43 {{- end -}} 43 {{- end -}}
44 <span class="location__uripart">{{ $uriLast -}}</span> 44 <span class="location__uripart">{{ $uriLast -}}</span>
45 </div> 45 </div>
46 <button class="settings-btn">Settings</button> 46 <div>
47 {{- if not .Lines }}<a href="/{{ .URI | replace "^(.*?)/0" "$1/9" }}">View raw</a> | {{ end -}}
48 <button class="settings-btn">Settings</button>
49 </div>
47 </header> 50 </header>
48 <main class="wrap"> 51 <main class="wrap">
49 <pre class="content"> 52 <pre class="content">