From 2733a84d2d9bb0d6f4844bda5f7da2c3da58e387 Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Sat, 22 Jun 2024 15:33:27 -0700 Subject: [PATCH] do not display image properties when there is no image --- wrp.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wrp.html b/wrp.html index 8f48f79..c93c6c4 100644 --- a/wrp.html +++ b/wrp.html @@ -60,8 +60,10 @@ Web Rendering Proxy {{.Version}} | Shutdown WRP | + {{ if ne .ImgType "txt" }} Page Height: {{.PageHeight}} | Img Size: {{.ImgSize}} - + {{end}} + - \ No newline at end of file +