summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-09-20 13:31:34 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-09-20 13:31:34 +0200
commit8903bd8d34da59221e7f69052ebd7b31f7cb349f (patch)
treea68ffd3c843e0d9bb8a313f0d27f5819e538e352
parentf009d5f6c2a381b8214131818622dce93f94f380 (diff)
Add a rel="nofollow" attribute to hyperlinks in comments.
darcs-hash:09ead7f05c7d7ec0a32e454b1539fb7e73fe0d8b
-rwxr-xr-xjournal.lisp5
1 files changed, 4 insertions, 1 deletions
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&szlig; E-Mail-Adressen niemals
ver&ouml;ffentlicht werden und nur von Matthias eingesehen
werden k&ouml;nnen."))
+ (<:p (<:strong "Hinweis an Spammer: ")
+ (<:as-is "Hyperlinks werden so erzeugt, da&szlig; sie von Suchmaschinen
+ nicht beachtet werden. Sparen Sie sich also die M&uuml;he."))
(<:form :action (link-to :view :post-id (id-of journal-entry))
:method "post"
:accept-charset "UTF-8"