summaryrefslogtreecommitdiff
path: root/haunt.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-29 20:04:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-29 20:04:08 +0100
commitc114ff90f5589e4c97738893d2477eed7bd10f94 (patch)
tree9ea157bb0dd8dfdddbb161f1234d915a03d46bf8 /haunt.scm
parent55cdc8772e59537c5cce59b767ccdd41562f9377 (diff)
Remove flattr things.
Diffstat (limited to 'haunt.scm')
-rw-r--r--haunt.scm10
1 files changed, 0 insertions, 10 deletions
diff --git a/haunt.scm b/haunt.scm
index f5a7025..91e9e81 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -32,15 +32,6 @@
(src ,(string-append "/images/posts/" meta))))
'())))
-(define (flattr-snippet post)
- (let ((meta (post-ref post 'flattr)))
- (if meta
- `(a (@ (href ,(string-append "http://flattr.com/thing/" meta)))
- (img (@ (title "Flattr this")
- (alt "Flattr this")
- (src "http://api.flattr.com/button/flattr-badge-large.png"))))
- '())))
-
;; TODO: use license
(define (license-snippet post)
(let ((meta (post-ref post 'license)))
@@ -229,7 +220,6 @@ in parentheses."
,(date->string* (post-date post))))
,(photo-snippet post)
,(post-sxml post)
- ,(flattr-snippet post)
,(license-snippet post)
(p (@ (class "back"))
(a (@ (href "/posts"))