feat: skip theme styles

This commit is contained in:
mrilyew 2025-05-24 11:51:09 +03:00 committed by Alexander Minkin
parent fa7681edb8
commit a16734648c

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" />