My presumption is that style.css is loaded from the template name folder by default. That is correct, right?
If so, why would <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="style.css"}" /> NOT work? I don't want that particular line of code, but I am surprised that it does not really work.
I see Dave using this in the coffee theme:
Code: Select all
{if $template_option.colorset == 'blue'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="blue.css"}" />
{elseif $template_option.colorset == 'cappuccino'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="cappuccino.css"}" />
{elseif $template_option.colorset == 'espresso'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="espresso.css"}" />
{else}
<!-- ****** Change default Colorset here ****** -->
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="blue.css"}" />
{/if}What am I missing here?
Also - if a stylesheet *IS* specified, shouldn't there be something to STOP style.css from loading, if it exists in the template folder?