Browse Source

remove flattr button, update poole link

Thomas Buck 3 years ago
parent
commit
20db40c45c
1 changed files with 1 additions and 35 deletions
  1. 1
    35
      page.html

+ 1
- 35
page.html View File

14
     <link type="text/css" rel="stylesheet" href="css/gh-fork-ribbon.css" />
14
     <link type="text/css" rel="stylesheet" href="css/gh-fork-ribbon.css" />
15
     <link type="text/css" rel="stylesheet" href="css/lightgallery.min.css" />
15
     <link type="text/css" rel="stylesheet" href="css/lightgallery.min.css" />
16
     <script type="text/javascript" src="js/sh_main.js"></script>
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
 </head>
17
 </head>
33
 <body onload="sh_highlightDocument('/js/sh/', '.min.js');">
18
 <body onload="sh_highlightDocument('/js/sh/', '.min.js');">
34
     <!--%
19
     <!--%
102
         %-->
87
         %-->
103
         {{ __content__ }}
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
             # Disqus Comments (only show button to load afterwards)
90
             # Disqus Comments (only show button to load afterwards)
125
             if page.get("comments", "false") == "true":
91
             if page.get("comments", "false") == "true":
126
                 print '<div style="margin-top: 1em; text-align: center;">'
92
                 print '<div style="margin-top: 1em; text-align: center;">'
134
     </div>
100
     </div>
135
 
101
 
136
     <div id="footer">
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
         &middot;
104
         &middot;
139
         <a href="http://shjs.sourceforge.net">SHJS</a>
105
         <a href="http://shjs.sourceforge.net">SHJS</a>
140
         &middot;
106
         &middot;

Loading…
Cancel
Save