-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*compress img *enhance style *remove node package *youtube embed now load after page load
- Loading branch information
Showing
18 changed files
with
68 additions
and
1,149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
{% 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 %} | ||
{% 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 %} |
Oops, something went wrong.