XF 2.0 Need help making xenforo if syntax

Ok so I found the following vars...

{$xf.fullUri} = Current access url... https://www.example.com/
{{ link('forums') }} = dir the forums point to... /community/

How would I make an if statement like so...

if {$xf.fullUri} does NOT contain "https://www.example.com{{ link('forums') }}"

Then load jQuery.js


Also where does xenforo load jQuery.js located in "js/vendor/jquery" I haven't had any luck finding it.
 
Back
Top Bottom