Change to locally hosted blazy.js

This commit is contained in:
Ryan Watters
2017-03-12 23:32:36 -05:00
parent 3c50e8dd9a
commit 44c97f914e
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ It is also possible to add syntax highlighting with GitHub flavored code fences.
* The languages available for highlighting depend on your Pygments installation.
{{% /note %}}
## Client-side Syntax Highlighting
## Client-side
Alternatively, code highlighting can be applied to your code blocks in client-side JavaScript.
+3 -2
View File
@@ -42,6 +42,7 @@
{{end}}
{{ define "addscripts" }}
<script type="text/javascript" src="https://cdn.jsdelivr.net/blazy/1.8.2/blazy.min.js"></script>
<script>var bLazy = new Blazy();</script>
<script src="{{ "js/vendor/blazy.min.js" | relURL}}" async defer></script>
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/blazy/1.8.2/blazy.min.js"></script>
<script>var bLazy = new Blazy();</script> -->
{{ end }}
+6
View File
File diff suppressed because one or more lines are too long