Recent Topics

1 Oct 19, 2020 23:32    

Hi guys,

I need include a javascript code (to use MathML) in my blog. So, which file in skin folder I have include my code?

Thanks for any direction.

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>

2 Oct 23, 2020 19:39

Hi
Select Collections > The collection you want > Settings > Advanced > scroll down to > Skin and style

Image of my scripts etc.

3 Oct 23, 2020 20:12

Of course you can put it in a skin file then, any collection that uses the skin will get the script, I also have that, as well as what you can see in my previous post.

Scripts can be placed in various skin files but if you have an [/_html_header.inc.php] you could use that, as it would contain the <head> section for such: ~ you could have said what skin you are using ~ there is a general request that you specify b2evo version and skin version to save guessing in replies :)

4 Nov 05, 2020 15:29

Thanks @amoun . I had include my code in [/_html_header.inc.php] . I copyed this file from "/default_site_skin to my /bootstrap_blog_skin. Now I can write math formula in my blog! Thanks Again!

This thread is resolved.


Form is loading...