Forcing CSS and Javascript to be loaded via HTTPS.
[rnaseq-cwl-training.git] / _includes / javascript.html
index c2d678c4e52a6812fdac240be4cc7f7af41f1ebf..ccf0a887a0ebd831b47c86be69e25277ebd33366 100644 (file)
@@ -1,3 +1,3 @@
-<script src="{{ site.github.url }}/assets/js/jquery.min.js"></script>
-<script src="{{ site.github.url }}/assets/js/bootstrap.min.js"></script>
-<script src="{{ site.github.url }}/assets/js/lesson.js"></script>
+<script src="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/js/jquery.min.js"></script>
+<script src="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/js/bootstrap.min.js"></script>
+<script src="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/js/lesson.js"></script>