
	<h1>cnj_if_excerpt</h1>

	<p>This plugin is part of a hack to allow Textpattern comments to be placed anywhere <p><strong><txp:cnj_if_excerpt>&#133;</txp:cnj_if_excerpt></strong><br />
<br />
Parse the contents if the excerpt is empty.<br />
</p><br />
<p><strong><txp:cnj_if_not_excerpt>&#133;</txp:cnj_if_not_excerpt></strong><br />
<br />
Parse the contents if the excerpt is not empty.<br />
</p><br />
<p>Personally I use this with just one form for displaying articles, if there is a list, and an excerpt display the excerpt with a link to read more, or just display the body, if it is the single article display the excerpt and the body with an id for the read more link.  The form I use is this:</p><br />
<h3><txp:permlink><txp:title /></txp:permlink></h3><br />
<br />
<h4>posted <txp:posted /> category <txp:category1 /> <txp:comments_invite /></h4><br />
<br />
<txp:if_article_list><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<txp:cnj_if_excerpt><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<p><txp:excerpt /></p><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<p><a href="<txp:permlink />#more&#8221;>Read more</a></p><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;</txp:cnj_if_excerpt><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<txp:cnj_if_not_excerpt><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<p><txp:body /></p><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;</txp:cnj_if_not_excerpt><br />
<br />
</txp:if_article_list><br />
<br />
<txp:if_individual_article><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<p><txp:excerpt /></p><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<p id="more"><txp:body /></p><br />
<br />
</txp:if_individual_article></p>



 