diff --git a/actions/FrontpageAction.php b/actions/FrontpageAction.php index 4b9d7cd3..f015062f 100644 --- a/actions/FrontpageAction.php +++ b/actions/FrontpageAction.php @@ -25,6 +25,7 @@ final class FrontpageAction implements ActionInterface return render(__DIR__ . '/../templates/frontpage.html.php', [ 'admin_email' => Configuration::getConfig('admin', 'email'), + 'admin_telegram' => Configuration::getConfig('admin', 'telegram'), 'bridges' => $body, 'active_bridges' => $activeBridges, 'total_bridges' => count($bridgeClassNames), diff --git a/config.default.ini.php b/config.default.ini.php index 668a1e22..776346a5 100644 --- a/config.default.ini.php +++ b/config.default.ini.php @@ -33,6 +33,9 @@ custom_timeout = false ; "" = Disabled (default) email = "" +; Advertise a contact Telegram url e.g. "https://t.me/elegantobjects" +telegram = "" + ; Show Donation information for bridges if available. ; This will display a 'Donate' link on the bridge view ; and a "Donate" button in the HTML view of the bridges feed. diff --git a/templates/frontpage.html.php b/templates/frontpage.html.php index 4560dc28..5daa63bd 100644 --- a/templates/frontpage.html.php +++ b/templates/frontpage.html.php @@ -53,10 +53,18 @@ +
+ - - You may email the administrator of this RSS-Bridge instance at - - +
+ Email: +
+ + +
+ Telegram: +
+ +