diff options
Diffstat (limited to 'haunt')
| -rw-r--r-- | haunt/haunt.scm | 2 | ||||
| -rw-r--r-- | haunt/jakob/builder/atom.scm | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/haunt/haunt.scm b/haunt/haunt.scm index 7313632..79d05e4 100644 --- a/haunt/haunt.scm +++ b/haunt/haunt.scm @@ -44,7 +44,7 @@ (email . "zerodaysfordays@sdf.lonestar.org")) #:readers (list html-reader-prime) #:builders - (list (atom-feed) + (list (atom-feed #:max-entries 1024) (blog) (blogroll) (htaccess #:error-documents '((404 . "pages/404.html"))) diff --git a/haunt/jakob/builder/atom.scm b/haunt/jakob/builder/atom.scm index e210041..8852372 100644 --- a/haunt/jakob/builder/atom.scm +++ b/haunt/jakob/builder/atom.scm @@ -1,4 +1,4 @@ -;;; Copyright © 2019 - 2020 Jakob L. Kreuze <zerodaysfordays@sdf.org> +;;; Copyright © 2019 - 2023 Jakob L. Kreuze <zerodaysfordays@sdf.org> ;;; ;;; This program is free software; you can redistribute it and/or ;;; modify it under the terms of the GNU General Public License as @@ -22,6 +22,7 @@ #:use-module (haunt utils) #:use-module (ice-9 match) #:use-module (jakob builder blog) + #:use-module (jakob utils) #:use-module (jakob utils sxml) #:use-module (srfi srfi-19) #:use-module (srfi srfi-26) @@ -43,7 +44,7 @@ (link (@ (href ,uri) (rel "alternate"))) (summary (@ (type "html")) ,(sxml->html-string - (append (post-sxml post) + (append (first-paragraph post) (if (post-ref post 'crosspost) `((p "...") (p "This is a crosspost. Click " |