Added 'broken links' script.
[cocanwiki.git] / templates / what_links_here.html
index 16ed0bf..8fdbf99 100644 (file)
@@ -2,7 +2,6 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <title>What links to ::title_html::</title>
-<meta name="robots" content="noindex,nofollow"/>
 <meta name="author" content="http://www.merjis.com/" />
 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
 </head><body>
 <h1>What links to ::title_html::</h1>
 
 <p>
-List of pages which link to
+List of pages which link directly to
 <a href="/::page_html_tag::">::title_html::</a>:
 </p>
 
+::if(pages_empty)::
+<p><em>(No pages directly link here.)</em></p>
+::else::
 <ul>
 ::table(pages)::
 <li> <a href="/::page_html_tag::">::title_html::</a> </li>
 ::end::
 </ul>
+::end::
+
+::if(in_sitemenu)::
+<p>
+In addition, this page is in the site-wide menu, which
+effectively means that every page links to it.
+</p>
+::end::
 
 <ul id="topmenu" class="menu">
 <li class="first"> <a href="/">Home&nbsp;page</a> </li>