From 048d98300c89cdbbe52c1cb744a4b891a9563b4f Mon Sep 17 00:00:00 2001 From: Claire Medeiros Date: Mon, 24 Jul 2017 01:25:15 -0400 Subject: [PATCH] update the disqus universal embed script --- plugins/disqus.lisp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/plugins/disqus.lisp b/plugins/disqus.lisp index a2cab65..f52d6d1 100644 --- a/plugins/disqus.lisp +++ b/plugins/disqus.lisp @@ -6,25 +6,25 @@ (in-package :coleslaw-disqus) -(defvar *disqus-header* +(defparameter *disqus-header* "
- - - comments powered by Disqus") + + ") -(defun enable (&key shortname) +(defun enable (&key shortname site-url) (flet ((inject-p (x) (when (typep x 'post) - (format nil *disqus-header* shortname)))) + (format nil *disqus-header* site-url shortname shortname)))) (add-injection #'inject-p :body))) +