<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>more</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" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../ikiwiki.html">ikiwiki</a>/ <a href="../directive.html">directive</a>/ </span> <span class="title"> more </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>The <code>more</code> directive is supplied by the <a href="http://ikiwiki.info/plugins/more/">more</a> plugin.</p> <p>This directive provides a way to have a "more" link on a post in a blog, that leads to the full version of the page. Use it like this:</p> <pre><code>[[!more linktext="click for more" text=""" This is the rest of my post. Not intended for people catching up on their blogs at 30,000 feet. Because I like to make things difficult. """]] </code></pre> <p>If the <code>linktext</code> parameter is omitted it defaults to just "more".</p> <p>An optional <code>pages</code> parameter can be used to specify a <a href="../pagespec.html">PageSpec</a>, and then the "more" link will only be displayed when the page is inlined into a page matching that PageSpec, and otherwise the full content shown.</p> <p>Note that you can accomplish something similar using a <a href="./toggle.html">toggle</a> instead.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/more.html">plugins/more</a> </div> <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>