From 8903bd8d34da59221e7f69052ebd7b31f7cb349f Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Thu, 20 Sep 2007 13:31:34 +0200 Subject: Add a rel="nofollow" attribute to hyperlinks in comments. darcs-hash:09ead7f05c7d7ec0a32e454b1539fb7e73fe0d8b --- journal.lisp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'journal.lisp') diff --git a/journal.lisp b/journal.lisp index 672d5d8..a278177 100755 --- a/journal.lisp +++ b/journal.lisp @@ -178,7 +178,7 @@ (<:div :class :journal-comment-header (<:as-html (format nil "(~A) " (format-date nil "%day.%mon.%yr, %hr:%min" date))) - (<:a :href website + (<:a :href website :rel "nofollow" (<:as-html (format nil "~A" author))) (<:as-html " meint: ")) (<:div :class :journal-comment-body @@ -190,6 +190,9 @@ (<:p (<:as-is "Bitte beachten Sie, daß E-Mail-Adressen niemals veröffentlicht werden und nur von Matthias eingesehen werden können.")) + (<:p (<:strong "Hinweis an Spammer: ") + (<:as-is "Hyperlinks werden so erzeugt, daß sie von Suchmaschinen + nicht beachtet werden. Sparen Sie sich also die Mühe.")) (<:form :action (link-to :view :post-id (id-of journal-entry)) :method "post" :accept-charset "UTF-8" -- cgit v1.2.3