I've assigned a Smarty variable:
{assign var="siteurl" value="http://website.com"}
I can successfully use it in my header.html file to call a CSS link:
<link rel="stylesheet" type="text/css" href="{$siteurl}/style.css" />
displays
<link rel="stylesheet" type="text/css" href="http://website.com/style.css" />
However, when I do the same for a Javascript source, it literally prints out "{$siteurl}":
<script type="text/javascript" src="{$siteurl}/scripts.js"></script>
displays
<script type="text/javascript" src="{$siteurl}/scripts.js"></script>
Why isn't this Smarty variable displaying as expected?