Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 442

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>names</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="../../style.css" type="text/css" />

<link rel="stylesheet" href="../../local.css" type="text/css" />










</head>
<body>

<div class="page">

<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">

<a href="../../index.html">ikiwiki</a>/ 

<a href="../../plugins.html">plugins</a>/ 

<a href="../write.html">write</a>/ 

</span>
<span class="title">
names

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p><em>This page is work in progress and can not be considered to be part of the
documentation so far.</em></p>

<p>This page describes the various forms the name of a page can take.</p>

<table>
    <thead>
        <tr>
            <th>concept          </th>
            <th>example</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><hr />
</td>
            <td><hr />
</td>
        </tr>
        <tr>
            <td>title            </td>
            <td>'<code>dir A/page B</code>' unless a meta title is defined</td>
        </tr>
        <tr>
            <td>link             </td>
            <td>'<code>dir_A/page_B</code>' or '<code>dir A/page B</code>' or '<code>page_B</code>' / '<code>page B</code>' when inside dirA</td>
        </tr>
        <tr>
            <td>page name        </td>
            <td>'<code>dir_A/page_B</code>'</td>
        </tr>
        <tr>
            <td>source file      </td>
            <td>'<code>/dir_A/page_B/index.mdwn</code>' or '<code>/dir_A/page_B.mdwn</code>' depending on indexpages</td>
        </tr>
        <tr>
            <td>rendered file    </td>
            <td>'<code>/dir_A/page_B/</code>' or '<code>/dir_A/page_B.html</code>' depending on usedirs</td>
        </tr>
    </tbody>
</table>

<p>functions:</p>

<ul>
<li><code>pagename</code>: source file to page name</li>
<li><code>pagetitle</code>: page name to title but not considering meta title</li>
<li><code>titlepage</code>: title to page name but not considering meta title</li>
<li><code>linkpage</code>: link to page name</li>
<li><code>htmllink</code>: page name to html link to rendered file</li>
<li><code>bestlink</code>: link to page name</li>
<li><code>htmlpage</code>: page name to rendered file</li>
</ul>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">











<div class="pagedate">
Last edited <span class="date">Tue Feb 26 23:01:54 2019</span>
<!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> -->
</div>

</div>


<!-- from ikiwiki -->
</div>

</div>

</body>
</html>