diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-07-09 19:00:16 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-07-09 19:00:16 +0200 |
commit | 1b93acea09679bf0fb38e872ca2b8a86fef0c76f (patch) | |
tree | 2048cea58061b68f6e3962b38df62f805e02190f /_base.html | |
parent | f25236bd6f1082f779fc365f7d2c14a60891dcf5 (diff) | |
download | www-1b93acea09679bf0fb38e872ca2b8a86fef0c76f.tar.gz www-1b93acea09679bf0fb38e872ca2b8a86fef0c76f.tar.bz2 www-1b93acea09679bf0fb38e872ca2b8a86fef0c76f.zip |
use pygements instead of google prettify for code highlighting
Diffstat (limited to '_base.html')
-rw-r--r-- | _base.html | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -4,10 +4,10 @@ <meta charset="utf-8" /> <meta name="author" content="{{ author }}" /> <title>{{ site.title }}{% block title %}: {{ entry.title }}{% endblock %}</title> - <link rel="stylesheet" href="http://960.gs/css/reset.css" /> - <link rel="stylesheet" href="http://960.gs/css/text.css" /> - <link rel="stylesheet" href="http://960.gs/css/960.css" /> - <link rel="stylesheet" href="{{ url_for("static/css/prettify.css") }}" type="text/css" /> + <link rel="stylesheet" href="{{ url_for("static/css/reset.css") }}" type="text/css" /> + <link rel="stylesheet" href="{{ url_for("static/css/text.css") }}" type="text/css" /> + <link rel="stylesheet" href="{{ url_for("static/css/960.css") }}" type="text/css" /> + <link rel="stylesheet" href="{{ url_for("static/css/syntax.css") }}" type="text/css" /> <link rel="stylesheet" href="{{ url_for("static/css/main.css") }}" type="text/css" /> </head> <body onload="highlight()"> @@ -46,14 +46,3 @@ </div> </body> </html> - -<script type="text/javascript" src="{{url_for("static/js/google-code-prettify/prettify.js")}}"></script> -<script type="text/javascript"> -var highlight = function() { - elements = document.getElementsByTagName('pre'); - for(var i=0; i< elements.length; ++i) { - elements[i].className = 'prettyprint'; - } - prettyPrint(); -}; -</script> |