|
@@ -14,21 +14,6 @@
|
14
|
14
|
<link type="text/css" rel="stylesheet" href="css/gh-fork-ribbon.css" />
|
15
|
15
|
<link type="text/css" rel="stylesheet" href="css/lightgallery.min.css" />
|
16
|
16
|
<script type="text/javascript" src="js/sh_main.js"></script>
|
17
|
|
- <!--%
|
18
|
|
- if page.get("flattr", "false") == "true":
|
19
|
|
- print "<script type='text/javascript'>"
|
20
|
|
- print "/* <![CDATA[ */"
|
21
|
|
- print "(function() {"
|
22
|
|
- print "var s = document.createElement('script');"
|
23
|
|
- print "var t = document.getElementsByTagName('script')[0];"
|
24
|
|
- print "s.type = 'text/javascript';"
|
25
|
|
- print "s.async = true;"
|
26
|
|
- print "s.src = '//api.flattr.com/js/0.6/load.js?mode=auto&uid=xythobuz&category=text';"
|
27
|
|
- print "t.parentNode.insertBefore(s, t);"
|
28
|
|
- print "})();"
|
29
|
|
- print "/* ]]> */"
|
30
|
|
- print "</script>"
|
31
|
|
- %-->
|
32
|
17
|
</head>
|
33
|
18
|
<body onload="sh_highlightDocument('/js/sh/', '.min.js');">
|
34
|
19
|
<!--%
|
|
@@ -102,25 +87,6 @@
|
102
|
87
|
%-->
|
103
|
88
|
{{ __content__ }}
|
104
|
89
|
<!--%
|
105
|
|
- import sys
|
106
|
|
-
|
107
|
|
- # Centered DIV
|
108
|
|
- # Flattr Button
|
109
|
|
- if page.get("flattr", "false") == "true":
|
110
|
|
- print '<div style="margin-top: 1em; text-align: center;">'
|
111
|
|
- print '<span id="flattr">'
|
112
|
|
- sys.stdout.write('<a class="FlattrButton" href="')
|
113
|
|
- sys.stdout.write(BASE_URL)
|
114
|
|
- sys.stdout.write('/')
|
115
|
|
- sys.stdout.write(page.url)
|
116
|
|
- sys.stdout.write('" title="')
|
117
|
|
- sys.stdout.write(htmlspecialchars(page.title))
|
118
|
|
- sys.stdout.write('" data-flattr-button="compact">')
|
119
|
|
- sys.stdout.write(htmlspecialchars(page.get("description", page.title)))
|
120
|
|
- sys.stdout.write("</a>\n")
|
121
|
|
- print '</span>'
|
122
|
|
- print '</div>'
|
123
|
|
-
|
124
|
90
|
# Disqus Comments (only show button to load afterwards)
|
125
|
91
|
if page.get("comments", "false") == "true":
|
126
|
92
|
print '<div style="margin-top: 1em; text-align: center;">'
|
|
@@ -134,7 +100,7 @@
|
134
|
100
|
</div>
|
135
|
101
|
|
136
|
102
|
<div id="footer">
|
137
|
|
- <a href="http://bitbucket.org/obensonne/poole">Poole</a>
|
|
103
|
+ <a href="https://hg.sr.ht/~obensonne/poole">Poole</a>
|
138
|
104
|
·
|
139
|
105
|
<a href="http://shjs.sourceforge.net">SHJS</a>
|
140
|
106
|
·
|