mirror of
https://github.com/openvk/openvk
synced 2025-07-07 00:09:48 +03:00
not load themepack styles if it overrides themepac
This commit is contained in:
parent
586d7e1e6a
commit
408caf4302
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@
|
||||||
{/if}
|
{/if}
|
||||||
{/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}
|
{if $isXmas}
|
||||||
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/resource/xmas.css" />
|
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/resource/xmas.css" />
|
||||||
|
|
Loading…
Reference in a new issue