Skip to content

Commit

Permalink
remove jquery
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Oct 6, 2024
1 parent b2afb8c commit f92132d
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>

<!-- Document Settings -->
Expand Down Expand Up @@ -85,22 +85,13 @@ <h1 class="subscribe-overlay-title">Subscribe to {{ site.title }}</h1>
{% endif %}

<!-- highlight.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.10.0/components/prism-abap.min.js"></script>
<script>$(document).ready(function() {
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
});
});</script>

<!-- jQuery + Fitvids, which makes all video embeds responsive -->
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
<script>
document.addEventListener('DOMContentLoaded', function() {
document.querySelectorAll('pre code').forEach(function(block) {
hljs.highlightBlock(block);
});
});
</script>
<script type="text/javascript" src="{{ site.baseurl }}assets/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="https://demo.ghost.io/assets/js/jquery.fitvids.js?v=724281a32e"></script>


<!-- Paginator increased to "infinit" in _config.yml -->
<!-- if paginator.posts -->
Expand Down

0 comments on commit f92132d

Please sign in to comment.