Skip to content
Snippets Groups Projects
Commit c9f16554 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Initialize highlight after it has been loaded

parent 71a6164f
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
'node_modules/leaflet/dist/leaflet.js', 'node_modules/leaflet/dist/leaflet.js',
'js/wow.js', 'js/wow.js',
'js/highlight.pack.js', 'js/highlight.pack.js',
'js/highlight.js',
'js/map.js']) 'js/map.js'])
.pipe(concat('all.js')) .pipe(concat('all.js'))
.pipe(gulp.dest('static/js/')); .pipe(gulp.dest('static/js/'));
......
hljs.initHighlightingOnLoad();
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
</footer> </footer>
{% block script %} {% block script %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %} {% endblock %}
</body> </body>
</html> </html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment