Skip to content

Commit

Permalink
adding syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
i-a-n committed Jul 22, 2016
1 parent 6cd9b4b commit 3d7c8d2
Show file tree
Hide file tree
Showing 6 changed files with 433 additions and 94 deletions.
5 changes: 5 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
<!-- Custom Theme JavaScript -->
<script src="{{ "/js/clean-blog.min.js " | prepend: site.baseurl }}"></script>

<!-- Syntax highlighting -->
{% if page.includeSyntax %}
<script src="{{ "/js/union-syntaxhighlighter-slim.min.js" | prepend: site.baseurl }}"></script>
{% endif %}

<!-- google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down
7 changes: 4 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/clean-blog.css" | prepend: site.baseurl }}">

<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">

<!-- Custom Fonts -->
<link href='//fonts.union.io/css/compiled/work-sans.css' rel='stylesheet' type='text/css'>
<link href='//fonts.union.io/css/compiled/yrsa.css' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

{% if page.includeSyntax %}
<link rel="stylesheet" href="{{ "/css/union-syntaxhighlighter.css" | prepend: site.baseurl }}">
{% endif %}

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down
84 changes: 0 additions & 84 deletions css/syntax.css

This file was deleted.

0 comments on commit 3d7c8d2

Please sign in to comment.