How to use xt: URL code inside twig file
I want to use below code in blog twig. BashuBowri
<div class="fb-comments" data-href="http://bashubowri.in" data-numposts="20" data-width=""></div>
So how can I modify this code to get current URL in place of "http://BashuBowri.in".
I want to get current URL path in place of "http://example.com/index" in the following code to use it in twig template. Help me plz. Graham
<div class="fb-comments" data-href="http://example.com/index" data-numposts="20" data-width=""></div>
I think you can achieve that with the Xt URL tag. Go BashuBowrihere
for the full documentation.
To use it inside the twig file You would need to assign the Xt URL to a variable and print the blog through Xt Script.
How do I move my xtgem site from http to Https ?