From 56a35eb8642eae4ffc8662342d7ece45d82b003f Mon Sep 17 00:00:00 2001 From: slawkens <slawkens@gmail.com> Date: Sat, 20 Jun 2020 08:50:11 +0200 Subject: [PATCH] Fix network_twitter link in tibiacom template --- templates/tibiacom/boxes/templates/networks.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tibiacom/boxes/templates/networks.html.twig b/templates/tibiacom/boxes/templates/networks.html.twig index 724f27bf..c1b8c768 100644 --- a/templates/tibiacom/boxes/templates/networks.html.twig +++ b/templates/tibiacom/boxes/templates/networks.html.twig @@ -23,7 +23,7 @@ {% endif %} {% if config['network_twitter'] is not empty %} <div id="TwitterBlock"> - <a href="https://twitter.com/<?php echo $config['network_twitter']; ?>" class="twitter-follow-button" data-show-count="false">Follow @<?php echo $config['network_twitter']; ?></a> + <a href="https://twitter.com/{{ config['network_twitter'] }}" class="twitter-follow-button" data-show-count="false">Follow @{{ config['network_twitter'] }}</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </div> {% endif %}