diff options
Diffstat (limited to '_base.html')
-rw-r--r-- | _base.html | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -7,15 +7,17 @@ <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/main.css") }}" type="text/css" /> - <link rel="stylesheet" href="{{ url_for("static/css/syntax.css") }}" type="text/css" /> </head> -<body> +<body onload="highlight()"> <div class="container_16"> <div id="header" class="grid_16"> <h1 class="grid_8 alpha"> - <img src="http://marian.spline.de/res/logo/png/spline-logo-full-white-transp.png" alt="SPLINE" /> + <a href="{{site.url}}"> + <img src="http://marian.spline.de/res/logo/png/spline-logo-full-white-transp.png" alt="SPLINE" /> + </a> </h1> <ol class="grid_8 omega"> @@ -44,3 +46,14 @@ </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> |