This commit is contained in:
2025-03-09 23:50:32 +01:00
parent 1e498b41c7
commit 67c05416ac
190 changed files with 8061 additions and 3363 deletions

BIN
themes/.DS_Store vendored Normal file

Binary file not shown.

BIN
themes/classic/.DS_Store vendored Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -138,3 +138,22 @@ document.addEventListener("click", (event) => {
}
}
});
document.addEventListener("DOMContentLoaded", function () {
function moveContent(retries = 20) { // 20 * 500ms = 10s
var eratyElement = document.getElementById("eraty");
var wrapperElement = document.querySelector(".block-raty--wrapper");
if (eratyElement && wrapperElement) {
var eratyContent = eratyElement.innerHTML;
eratyElement.innerHTML = "";
var newContent = document.createElement("div");
newContent.innerHTML = eratyContent;
wrapperElement.appendChild(newContent);
} else if (retries > 0) {
setTimeout(() => moveContent(retries - 1), 500);
}
}
moveContent();
});

View File

@@ -47,13 +47,13 @@
<link rel="alternate" href="{$pageUrl}" hreflang="{$code}">
{/foreach}
{/block}
{block name='head_microdata'}
{include file="_partials/microdata/head-jsonld.tpl"}
{/block}
{block name='head_microdata_special'}{/block}
{block name='head_pagination_seo'}
{include file="_partials/pagination-seo.tpl"}
{/block}
@@ -64,7 +64,7 @@
<meta property="og:url" content="{$urls.current_url}" />
<meta property="og:site_name" content="{$shop.name}" />
{if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website" />{/if}
{/block}
{/block}
{/block}
{block name='head_viewport'}
@@ -79,7 +79,7 @@
{block name='stylesheets'}
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
{/block}
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
{block name='javascript_head'}
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
{/block}