Added highlight.js

This commit is contained in:
Oliver Davies 2015-08-08 21:45:32 +01:00
parent d087f15897
commit 210c95ee56
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="{{ site.url }}/{{ theme_path('assets/js/bootstrap.min.js') }}"></script>
<script src="{{ site.url }}/components/highlightjs/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% block scripts %}{% endblock %}

View file

@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="author" href="{{ site.url }}/humans.txt" />
<link rel="stylesheet" href="{{ site.url }}/assets/css/styles.css">
<link rel="stylesheet" href="{{ site.url }}/components/highlightjs/styles/zenburn.css">
{% for size in site.apple_touch_icon_sizes %}
<link rel="apple-touch-icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}