-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.html
88 lines (82 loc) · 3.47 KB
/
default.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ page.title }} (42¢)</title>
<link rel="icon" type="image/png" href="/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="/css/font-awesome-4.4.0/css/font-awesome.min.css ">
<link rel="stylesheet" href="/css/pygments.css " >
<link href="https://fonts.googleapis.com/css?family=Share+Tech+Mono" rel="stylesheet">
<link rel="stylesheet/less" href="/css/stress.less" type="text/css" />
<style>
body {
font-family: 'Share Tech Mono', monospace;
}
</style>
</head>
<body>
<div class="container">
<h1>42¢ <a class="brand" href="/">glxn.net</a></h1>
</div>
<div class="container">
{{content}}
</div>
<div class="container">
<h2>Moar stuffs</h2>
<table class="moar">
{% for post in site.posts %}
<tr>
<td>{{ post.date | date_to_string }}</td>
<td class="spc"><i class="fa fa-terminal"></i></td>
<td><a href="{{ post.url }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
</div>
<div class="container">
<footer>
<p><a href="/about/">» About The Author «</a></p>
</footer>
</div>
<script type="text/javascript">
(function() {
var qry = /^\?p=(\d+)/;
var oldies = {
'497': '/2012/08/14/using-sublime-text-2-as-git-commit-message-editor',
'445': '/2012/03/10/qrgen-a-small-wrapper-on-top-of-zxing-for-generating-qrcodes-in-java',
'435': '/2012/03/06/hosting-maven-artifact-with-github-pages',
'425': '/2012/01/04/my-bash-ps1-with-git-branch-info',
'331': '/2010/08/19/pomodoro-technique-and-my-idea-for-a-decent-android-app',
'279': '/2010/08/17/making-a-swing-project-using-intellij-idea-and-gui-builder-with-maven-including-executable-jar',
'175': '/2010/05/01/using-arquillian-to-test-against-a-remote-jboss-container-from-within-idea',
'256': '/2010/04/06/weldcdi-lightningtalk-from-know-it-2010-annual-conference',
'226': '/2010/04/03/jsudoku-solver-java-swing-program',
'136': '/2010/03/01/jpa-and-cdiweld',
'141': '/2010/03/01/implementing-requestparam-in-cdiweld',
'17': '/2009/11/01/seam-maven-refimpl'
};
if (window.location.search && window.location.search.match(qry)) {
var newbie = oldies[qry.exec(window.location.search)[1]];
if(newbie) {
window.location = newbie;
}
}
}());
</script>
<script src="/js/jquery-1.9.1.min.js"></script>
<script src="/css/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/less-1.3.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9570909-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>