From f9f71ed93547ec082ddcd8da03443e3615c5ae91 Mon Sep 17 00:00:00 2001
From: localhost_frssoft
Date: Sun, 16 Oct 2022 17:02:17 +0300
Subject: [PATCH] Fix if short descr not avalaible
---
templates/aboutinstance.tmpl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/templates/aboutinstance.tmpl b/templates/aboutinstance.tmpl
index 9302015..93ba23f 100644
--- a/templates/aboutinstance.tmpl
+++ b/templates/aboutinstance.tmpl
@@ -7,7 +7,9 @@
{{.Instance.Description}}
- {{Raw .Instance.ShortDescription}}
+ {{if .Instance.ShortDescription}}
+ {{Raw .Instance.ShortDescription}}
+ {{end}}
{{if .Instance.Rules}}