Warn about the trailing slash in the url so RSS links are valids - cl-yag - Common Lisp Yet Another website Generator HTML git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/cl-yag/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit fb05dcdf99bb18fa6d9fe26569d3cf018c837443 DIR parent ce03712ffad87a4ec77fa2fb56f2a1a5761ccca4 HTML Author: Solene Rapenne <solene@dataswamp.org> Date: Fri, 6 May 2016 12:01:47 +0200 Warn about the trailing slash in the url so RSS links are valids Diffstat: M data/articles.lisp | 2 +- M generator.lisp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/data/articles.lisp b/data/articles.lisp @@ -9,7 +9,7 @@ :webmaster "Your author name here" :title "Your blog title here" :description "Yet another website on the net" - :url "https://my.website/~~user/" + :url "https://my.website/~~user/" ;; the trailing slash is mandatory, rss links will fails without it )) ;; describes articles (ordered on the website as they are displayed here, the first in list is the top of the website) DIR diff --git a/generator.lisp b/generator.lisp @@ -135,7 +135,7 @@ (template "%%Title%%" (getf article :title)) (template "%%Description%%" (getf article :short "")) (template "%%Url%%" - (format nil "~d/article-~d.html" + (format nil "~darticle-~d.html" (getf *config* :url) (getf article :id)))))))