Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-08-08 13:13:23
- firefox
- Member
- Registered: 2008-08-06
- Posts: 16
how to select a section in my index page
when i bulid my index page , the section of index page was “default”
but i want display my articles info, what can i do ?
<txp:if_section name=“about,contact”>
<h2><txp:title /></h2>
<txp:else />
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<p class=“date”><txp:posted format=”%Y-%m-%d” /></p>
</txp:if_section>
<div class=“postbody”>
<txp:body />
</div>
<txp:if_section name=“about,contact”>
<txp:else />
<p class=“right”>Posted by <txp:author /> at <txp:posted format=”%H:%M” gmt=“1” />
<br />
</txp:if_section>
<txp:comments_invite /></p>
<p><hr noshade size=“1” color: #999999; /></p>
Offline