Skip to content

Commit

Permalink
Move syntax highlighting script to post page
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Jul 7, 2024
1 parent 2743bc2 commit aad20da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/theme/app.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,4 @@

{{{scripts}}}

<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>

</html>
</html>
5 changes: 4 additions & 1 deletion src/theme/post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@
</p>
{{/if}}
</footer>
</article>
</article>

<script async src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js"></script>
<script async src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>

0 comments on commit aad20da

Please sign in to comment.