X-Git-Url: https://git.jsancho.org/?p=blog.git;a=blobdiff_plain;f=haunt.scm;h=21cb4ce8d49334440610e820671ac108e5750e51;hp=da6bb846d289b9ce4ce36da5a95c2adcfa9d36a1;hb=refs%2Fheads%2Fspanish;hpb=ae8a981f0444272331857bafdc18da0c49deedb5 diff --git a/haunt.scm b/haunt.scm index da6bb84..21cb4ce 100644 --- a/haunt.scm +++ b/haunt.scm @@ -95,15 +95,13 @@ res) ((and (pair? (car sxml)) (eq? (caar sxml) 'p)) (getp (cdr sxml) (- count 1) (cons (car sxml) res))) - ((and (pair? (car sxml)) (eq? (caar sxml) 'a)) - (getp (cdr sxml) count (cons (car sxml) res))) (else - (getp (cdr sxml) count res)))) + (getp (cdr sxml) count (cons (car sxml) res))))) (reverse (getp sxml count '()))) (define (post-summary post) (or (post-ref post 'summary) - (get-paragraphs (cdr (post-sxml post)) 3))) + (get-paragraphs (cdar (post-sxml post)) 3))) `( ,@(map (lambda (post) @@ -138,7 +136,7 @@ (site #:title "Javier Sancho" #:domain "jsancho.org" - #:build-directory "site-spanish" + #:build-directory "site" #:default-metadata '((author . "Javier Sancho") (description . "Evangelizador del software libre - Programador")