X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=haunt.scm;h=db8f0b876a6c070e1c2a986c2cf8b6aa7fa8ce62;hb=45ebde25a8c462596f8210715ce2b5150ed0559c;hp=8924dd6e32020df383436d504ac84687fe974537;hpb=222184207ce31c9588c7c3cd5533469ae13a74ec;p=blog.git diff --git a/haunt.scm b/haunt.scm index 8924dd6..db8f0b8 100644 --- a/haunt.scm +++ b/haunt.scm @@ -67,7 +67,7 @@ (a (@ (href "index.html")) (h1 ,(assoc-ref metadata 'author))))) (ul (@ (class "navigation-items center")) - (li (a (@ (href "https://jsancho.org/")) "in spanish"))) + (li (a (@ (href "https://www.jsancho.org/")) "in spanish"))) (ul (@ (class "navigation-items right")) ,@(map (lambda (page) `(li (a (@ (href ,(cdr page))) ,(car page)))) @@ -95,10 +95,8 @@ 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)