I have a Comodo certificate for my site to serve content using HTTPS.
I would like to add the Comodo TrustLogo (https://trustlogo.com/) so that it appears on every content page. The problem is that the JavaScript comprises of two parts that must be placed in specific locations according to Comodo:
a) One piece must be loaded just before the HTML HEAD closing tag.
The generic code Comodo wants me to include is:
<script type="text/javascript"> //<![CDATA[
var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/");
document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
//]]>
</script>
b) The second piece must be included just before the HTML BODY closing tag.
The JavaScript is this - anonymised for site-specific content:
<script language="JavaScript" type="text/javascript">
TrustLogo("https://www.example.com/path/to/image.png", "CL1", "none");
</script>
<a href="https://www.positivessl.com/" id="comodoTL">Positive SSL Wildcard</a>
Since Bartik and other themes do not meddle with the HTML page stuff (only with the actual content) I looked into messing with the file
core/modules/system/templates/html.html.twig
and add some content there, but stuff does not appear - it seems ignored as it doesn't even appear in the HTML source...
Please help!
Thanks, Michel