blob: 588c8435ecd8a6a1ff9a67dd79696ce4045b9fb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<!-- Lazyload support -->
<% if (theme.lazyload) { %>
<script defer src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.min.js"></script>
<script>
window.lazyLoadOptions = {
elements_selector: ".lazy",
threshold: 0,
effect: "fadeIn"
};
</script>
<% } %>
<!-- Darkmode support -->
<!-- Highlight.js support -->
<% if (theme.highlight.enable === true) { %>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/highlight.pack.min.js"></script>
<link id="highlight-light-theme" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/styles/<%= theme.highlight.lightmode %>.css">
<link id="highlight-dark-theme" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/styles/<%= theme.highlight.darkmode %>.css">
<script>
</script>
<% } %>
<!-- Shikwasa Player support -->
<% if (is_post() && theme.podcast && page.podcast) { %>
<script defer src="https://cdn.jsdelivr.net/npm/shikwasa/dist/shikwasa.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/shikwasa/dist/shikwasa.min.css">
<% } %>
|