From 22dd08071b7226978f870fba9dbe7290eddb0ae5 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Tue, 25 Jun 2019 09:22:10 +0200 Subject: Add 'view raw' link to type 0 pages --- template.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template.go b/template.go index b9e8b30..ac7f674 100644 --- a/template.go +++ b/template.go @@ -43,7 +43,10 @@ var tpltext = ` {{- end -}} {{ $uriLast -}} - +
+ {{- if not .Lines }}View raw | {{ end -}} + +
-- 
cgit v1.2.3-70-g09d2