Add ability to set description of index page

This commit is contained in:
Celestora 2022-06-18 14:51:03 +03:00
parent 7d8ae7dab1
commit b0ae6be512
2 changed files with 7 additions and 0 deletions

View file

@ -1,6 +1,12 @@
{extends "../@layout.xml"} {extends "../@layout.xml"}
{block title}{_"welcome"}{/block} {block title}{_"welcome"}{/block}
{block headIncludes}
{if !empty(OPENVK_ROOT_CONF['openvk']['appearance']['description'])}
<meta name="description" content="{= OPENVK_ROOT_CONF['openvk']['appearance']['description']}" />
{/if}
{/block}
{block header} {block header}
{_"welcome"} {_"welcome"}
{/block} {/block}

View file

@ -3,6 +3,7 @@ openvk:
appearance: appearance:
name: "OpenVK" name: "OpenVK"
motd: "Yet another OpenVK instance" motd: "Yet another OpenVK instance"
description: ""
preferences: preferences:
femaleGenderPriority: true femaleGenderPriority: true