mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
*compress img *enhance style *remove node package *youtube embed now load after page load
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
{% extends "base.html" %} {% block outdated %} You're not viewing the
|
|
documentation of the latest version.
|
|
<a href="{{ '../' ~ base_url }}">
|
|
<strong>Click here to view latest.</strong>
|
|
</a>
|
|
{% endblock %} {% block announce %} 📢 Looking for technical support, tailored
|
|
consulting or custom development for BunkerWeb ? Visit the
|
|
<a
|
|
href="https://panel.bunkerweb.io/?utm_campaign=self&utm_source=doc"
|
|
style="color: #3f6ec6; text-decoration: underline"
|
|
>BunkerWeb Panel</a
|
|
>
|
|
for more information on our enterprise offers. {% endblock %} {% block libs %}
|
|
<script
|
|
async
|
|
defer
|
|
data-domain="docs.bunkerweb.io"
|
|
src="https://data.bunkerity.com/js/script.js"
|
|
></script>
|
|
<script defer>
|
|
// Lazy load images and embed youtube videos
|
|
window.addEventListener("load", () => {
|
|
document.querySelectorAll("[data-src]").forEach((el) => {
|
|
el.setAttribute("src", el.getAttribute("data-src"));
|
|
});
|
|
});
|
|
// Add missing label
|
|
try {
|
|
document
|
|
.querySelector('div.md-search[data-md-component="search"][role="dialog"]')
|
|
.setAttribute("aria-label", "Search in documentation");
|
|
} catch (err) {}
|
|
</script>
|
|
{% endblock %}
|