not load themepack styles if it overrides themepac

This commit is contained in:
mrilyew 2025-05-24 11:51:09 +03:00
parent 586d7e1e6a
commit 408caf4302

View file

@ -17,7 +17,9 @@
{/if}
{/if}
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/styles.css" />
{* remove the "n:if" if you having issues with your theme *}
<link n:if="!$theme->overridesTemplates()" rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/styles.css" />
{if $isXmas}
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/resource/xmas.css" />