git.annexia.org
/
cocanwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Links to empty template pages are now shown as ordinary links.
[cocanwiki.git]
/
templates
/
what_links_here.html
diff --git
a/templates/what_links_here.html
b/templates/what_links_here.html
index
16ed0bf
..
8fdbf99
100644
(file)
--- a/
templates/what_links_here.html
+++ b/
templates/what_links_here.html
@@
-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>
<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>
<meta name="author" content="http://www.merjis.com/" />
<link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
</head><body>
@@
-10,15
+9,26
@@
<h1>What links to ::title_html::</h1>
<p>
<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>
<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>
<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 page</a> </li>
<ul id="topmenu" class="menu">
<li class="first"> <a href="/">Home page</a> </li>