From d0b3c432bdc80796f8854651b2822662a3ccef70 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 11 Nov 2019 18:58:24 +0100 Subject: Replaced UglifyJS with Terser, include whole asset path in struct, display errors in template instead of basic HTML --- template.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'template.go') diff --git a/template.go b/template.go index cb37aff..f58349e 100644 --- a/template.go +++ b/template.go @@ -6,14 +6,14 @@ var tpltext = ` {{ .Title }} - + @@ -51,7 +51,7 @@ var tpltext = ` {{ $uriLast -}}
- {{- if not .Lines -}} + {{- if and (not .Lines) (not .Error) -}} {{- end -}}
@@ -97,6 +97,6 @@ var tpltext = `
- + ` -- cgit v1.2.3-54-g00ecf