Initial commit - Begun rewrite of website generator
This commit is contained in:
80
templates/base.html
Normal file
80
templates/base.html
Normal file
@@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="light red">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
|
||||
<title>
|
||||
Thomas Lovén - {% if page %}{{ page.title }}{% endif %}
|
||||
</title>
|
||||
<link rel="stylesheet" type="text/css" href="/src/solarized.css">
|
||||
<link rel="stylesheet" type="text/css" href="/src/fonts/dejavuserif/stylesheet.css">
|
||||
<link rel="stylesheet" type="text/css" href="/src/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="/src/site-solarized.css">
|
||||
<link rel="stylesheet" type="text/css" href="/src/codestyle.css">
|
||||
|
||||
<!-- <script type="text/javascript" src="/src/prettify.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/src/lang-tex.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/src/lang-nasm.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/src/lang-betyg.js"></script> -->
|
||||
|
||||
<!-- <script type="text/x-mathjax-config"> -->
|
||||
<!-- MathJax.Hub.Config({ -->
|
||||
<!-- tex2jax: { -->
|
||||
<!-- skipTags: ["script","noscript","style","textarea","code"], -->
|
||||
<!-- ignoreClass: ".*", -->
|
||||
<!-- processClass: "latex" -->
|
||||
<!-- } -->
|
||||
<!-- }); -->
|
||||
<!-- MathJax.Hub.Queue( function() { -->
|
||||
<!-- var all = MathJax.Hub.getAllJax(), i; -->
|
||||
<!-- for(i=0; i < all.length; i += 1) { -->
|
||||
<!-- all[i].SourceElement().parentNode.className += ' has-jax'; -->
|
||||
<!-- } -->
|
||||
<!-- }); -->
|
||||
<!-- </script> -->
|
||||
<!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script> -->
|
||||
|
||||
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
|
||||
|
||||
<script src="/src/blankwin.js" type="text/javascript"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<!-- <body onload="$('pre').not('.nopretty').not('.latex').addClass('prettyprint'); prettyPrint(); blankwin(); $('body').width($('body').width()+1).width('auto')"> -->
|
||||
<body>
|
||||
|
||||
<div id="wrap">
|
||||
<div id="header">
|
||||
<div id="title">
|
||||
<h2>ThomasLovén.com</h2>
|
||||
</div><!--title-->
|
||||
<div id="links">
|
||||
<a href="/">Home</a>
|
||||
-
|
||||
<a href="/blog/">Blog</a>
|
||||
-
|
||||
<a href="/photos/">Photos</a>
|
||||
-
|
||||
<a href="/about/">About</a>
|
||||
</div><!--links-->
|
||||
</div><!--header-->
|
||||
|
||||
<div id="contents">
|
||||
{% block page %}
|
||||
{% endblock page %}
|
||||
|
||||
</div><!--contents-->
|
||||
|
||||
</div><!--wrap-->
|
||||
|
||||
<div id="bottom">
|
||||
© 2012
|
||||
<a href="mailto:thomasloven@gmail.com">Thomas Lovén</a>
|
||||
-
|
||||
<a href="http://twitter.com/thomasloven">@thomasloven</a>
|
||||
-
|
||||
<a href="http://github.com/thomasloven">GitHub</a>
|
||||
</div><!--bottom-->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user