Skip to content

Commit 9197508

Browse files
committed
fix: fix
1 parent a460397 commit 9197508

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

_includes/custom-scripts.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,9 @@
2323
fallbackEmail: '{{ site.email | default: "usama7274@gmail.com" }}',
2424

2525
// Enable debug mode (set to false in production)
26-
debug: {{ site.debug_mode | default: "true" | jsonify }}
26+
debug: '{{ site.debug_mode | default: "true" | jsonify }}'
2727
};
2828

29-
// Categories data for sidebar
30-
window.SITE_CATEGORIES = [
31-
{% assign categories = site.categories | sort %}
32-
{% for category in categories %}
33-
{
34-
name: {{ category[0] | capitalize | jsonify }},
35-
slug: {{ category[0] | downcase | replace: ' ', '-' | jsonify }},
36-
count: {{ category[1] | size }}
37-
}{% unless forloop.last %},{% endunless %}
38-
{% endfor %}
39-
];
40-
4129
// Add Formspree endpoint meta tag dynamically
4230
document.addEventListener('DOMContentLoaded', function() {
4331
if (window.NEWSLETTER_CONFIG.formspreeEndpoint &&

0 commit comments

Comments
 (0)