diff --git a/src/indices.lisp b/src/indices.lisp index 57ddb90..01bc2e3 100644 --- a/src/indices.lisp +++ b/src/indices.lisp @@ -33,7 +33,8 @@ (defun write-index (posts filename title &optional prev next) "Write out the HTML for POSTS to FILENAME.html." (let ((content (loop for post in posts - collect (list :url (format nil "posts/~a.html" (post-slug post)) + collect (list :url (format nil "~a/posts/~a.html" + (domain *config*) (post-slug post)) :title (post-title post) :date (post-date post) :content (render-content (post-content post) diff --git a/themes/hyde/base.tmpl b/themes/hyde/base.tmpl index 8fe85f0..8f71deb 100644 --- a/themes/hyde/base.tmpl +++ b/themes/hyde/base.tmpl @@ -8,7 +8,7 @@ - + {if $headInject} {$headInject |noAutoescape} {/if}