From b0ae6be51240b627df51f482992e51034982607b Mon Sep 17 00:00:00 2001 From: Celestora Date: Sat, 18 Jun 2022 14:51:03 +0300 Subject: [PATCH] Add ability to set description of index page --- Web/Presenters/templates/About/Index.xml | 6 ++++++ openvk-example.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/Web/Presenters/templates/About/Index.xml b/Web/Presenters/templates/About/Index.xml index 9df911e7..80e4f62e 100644 --- a/Web/Presenters/templates/About/Index.xml +++ b/Web/Presenters/templates/About/Index.xml @@ -1,6 +1,12 @@ {extends "../@layout.xml"} {block title}{_"welcome"}{/block} +{block headIncludes} + {if !empty(OPENVK_ROOT_CONF['openvk']['appearance']['description'])} + + {/if} +{/block} + {block header} {_"welcome"} {/block} diff --git a/openvk-example.yml b/openvk-example.yml index cceb2be3..feb6effe 100644 --- a/openvk-example.yml +++ b/openvk-example.yml @@ -3,6 +3,7 @@ openvk: appearance: name: "OpenVK" motd: "Yet another OpenVK instance" + description: "" preferences: femaleGenderPriority: true