Skip to content

Commit 769fed9

Browse files
committed
added spotlight js files
1 parent 03af8c5 commit 769fed9

File tree

3 files changed

+39
-11
lines changed

3 files changed

+39
-11
lines changed

_includes/foot.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!-- Bootstrap bundle JS -->
22
<script
3-
src="./assets/js/bootstrap.bundle.min.js"
3+
src="../assets/js/bootstrap.bundle.min.js"
44
></script>
55
<!-- load other js -->
66
<script
7-
src="./assets/js/lazysizes.min.js"
7+
src="../assets/js/lazysizes.min.js"
88
></script>
9-
{% if layout.gallery == true or page.gallery == true %}<script src="https://cdn.jsdelivr.net/npm/spotlight.js@latest/dist/spotlight.bundle.js" defer></script>{% endif %}
9+
{% if layout.gallery == true or page.gallery == true %}<script src="../assets/js/spotlight.bundle.js" defer></script>{% endif %}
1010
{% if page.custom-foot or layout.custom-foot %}
1111
{%- assign page_feet = page.custom-foot | split: ";" -%}
1212
{%- assign layout_feet = layout.custom-foot | split: ";" -%}

_includes/head/head.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
{% if site.data.theme.font-cdn %}{{ site.data.theme.font-cdn }}
1919
{% elsif jekyll.environment == "production" %}
20-
<link href="./assets/css/font-production.css" rel="stylesheet">
20+
<link href="../assets/css/font-production.css" rel="stylesheet">
2121
{% else %}
2222
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
2323
{% endif %}<!-- Bootstrap 5 CSS from jsDelivr -->
2424
<link
2525
rel="stylesheet"
26-
href="./assets/css/bootstrap.min.css"
26+
href="../assets/css/bootstrap.min.css"
2727
crossorigin="anonymous"
2828
type="text/css"
2929
/>
@@ -32,7 +32,7 @@
3232
<!-- DataTables CSS from jsDelivr -->
3333
<link
3434
rel="stylesheet"
35-
href="./assets/css/jquery.dataTables.min.css"
35+
href="../assets/css/jquery.dataTables.min.css"
3636
crossorigin="anonymous"
3737
type="text/css"
3838
>
@@ -42,33 +42,33 @@
4242
<!-- Leaflet CSS from Unpkg -->
4343
<link
4444
rel="stylesheet"
45-
href="./assets/css/leaflet.css"
45+
href="../assets/css/leaflet.css"
4646
crossorigin=""
4747
>
4848
<!-- Leaflet Fullscreen CSS from jsDelivr -->
4949
<link
5050
rel="stylesheet"
51-
href="./assets/css/leaflet.fullscreen.css"
51+
href="../assets/css/leaflet.fullscreen.css"
5252
crossorigin="anonymous"
5353
>
5454
{% if site.data.theme.map-search == true %}
5555
<!-- Leaflet FuseSearch CSS from jsDelivr -->
5656
<link
5757
rel="stylesheet"
58-
href="./assets/css/leaflet.fusesearch.css"
58+
href="../assets/css/leaflet.fusesearch.css"
5959
crossorigin="anonymous"
6060
>
6161
{% endif %}
6262
{% if site.data.theme.map-cluster == true %}
6363
<!-- Leaflet MarkerCluster CSS from Unpkg -->
6464
<link
6565
rel="stylesheet"
66-
href="./assets/css/MarkerCluster.css"
66+
href="../assets/css/MarkerCluster.css"
6767
crossorigin=""
6868
>
6969
<link
7070
rel="stylesheet"
71-
href="./assets/css/MarkerCluster.Default.css"
71+
href="../assets/css/MarkerCluster.Default.css"
7272
crossorigin=""
7373
>
7474
{% endif %}

0 commit comments

Comments
 (0)