Made use of the new <allowSpidersToIndex> tag
authorMarcel Werk <burntime@woltlab.com>
Fri, 17 Mar 2017 17:51:25 +0000 (18:51 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 17 Mar 2017 17:51:25 +0000 (18:51 +0100)
files/lib/page/LegalNoticePage.class.php
page.xml

index b36aa557ededcfb2811752d78212bb6a173bcb05..1dc9c846042545d07ba463b663803f595ca8bd1b 100644 (file)
@@ -31,8 +31,7 @@ class LegalNoticePage extends AbstractPage {
                parent::assignVariables();
                
                WCF::getTPL()->assign([
-                       'encodedEmailAddress' => StringUtil::encodeAllChars(LEGAL_NOTICE_EMAIL_ADDRESS),
-                       'allowSpidersToIndexThisPage' => true
+                       'encodedEmailAddress' => StringUtil::encodeAllChars(LEGAL_NOTICE_EMAIL_ADDRESS)
                ]);
        }
 }
index 43caf97aea96d6d5b74c2af23bd7a7a9f7eb867b..6353dc253d74feb0499491ef4f01b09cb6058a16 100644 (file)
--- a/page.xml
+++ b/page.xml
@@ -6,6 +6,7 @@
                        <controller>wcf\page\LegalNoticePage</controller>
                        <name language="de">Impressum</name>
                        <name language="en">Legal Notice</name>
+                       <allowSpidersToIndex>1</allowSpidersToIndex>
                        
                        <content language="en">
                                <title>Legal Notice</title>