<txp:output_form form="html_begin" />
<txp:output_form form="accessibility" />
<div id="page">
<txp:output_form form="header" />
<txp:output_form form="navigation" />
<div id="content">
<div id="main-content">



<txp:if_section name="">
<txp:if_search>
<div class="search-res">
<h3>Results</h3>
<txp:article />
</div>
<txp:else />
<txp:if_different>
<h2><txp:posted format="%d %B %Y" /></h2>
</txp:if_different>
<div id="last-posts">
<txp:article_custom section="blog" limit="5" form="recent_post" />
</div>

<div id="other-posts">
<h4>More post</h4>
<ul class="more-post"><txp:article_custom section="blog" offset="5" limit="5" form="more_post" /></ul>
</div>
</txp:if_search>
</txp:if_section>

<txp:if_section name="blog">
<txp:if_different>
<h2><txp:posted format="%d %B %Y" /></h2>
</txp:if_different>
<txp:if_individual_article>
<txp:article form="whole-post" limit="1" />
<txp:if_comments_preview>
<txp:comments_preview />
<txp:comments_form preview="1" />
</txp:if_comments_preview>
</txp:if_individual_article>
<txp:if_article_list>
<txp:article form="whole-post-l" />
</txp:if_article_list>
</txp:if_section>


<txp:if_section name="archive_c">
<h2>Archives by Category</h2>
<ul class="menu-c">See all posts of a category
<txp:article_custom form="post_by_c" limit="9999" section="blog" sortby="category1,Posted" sortdir="desc" />
<txp:article_custom form="archive_c" limit="9999" section="blog" sortby="category1,Posted" sortdir="desc" />
</txp:if_section>

<txp:if_section name="archive_d">
<h2>Archives by Month</h2>
<ul>
<txp:article_custom form="archive_m" limit="9999" section="blog" />
</ul>
<txp:article_custom section="blog" limit=99999 form="archive_d" />
</txp:if_section>

<txp:if_section name="links">
<div class="links-page">
<h2>Links Page</h2>
<txp:if_category name="external">
<h3>External links</h3>
<txp:linklist sort="linksort" category="external" wraptag="ul" break="li" form="ext-links" />
<txp:else />
<h3>Favourite sites</h3>
<txp:linklist sort="linksort" category="favourite" wraptag="ul" break="li" form="ext-links" />
</txp:if_category>
</div>
</txp:if_section>

<txp:if_section name="about">
<txp:article limit="1" form="about_p" />
</txp:if_section>

</div><!-- end main-content -->

<div id="sidebar">
<txp:if_section name="">
<txp:if_search>
<txp:else />
<txp:article_custom section="about" limit="1" form="about_ex" />
<div class="ext-sites box-list">
<h3>Sites</h3>
<ul>
<txp:linklist category="external" limit="10" break="li" class="resources" form="sites_ex" />
<a class="all-sugg" href="http://giulianovelli.net/textplate/links/?c=external">see all sites</a>
</ul>
</div>
</txp:if_search>
</txp:if_section>

<txp:if_section name="blog">
<txp:if_individual_article>
<txp:article form="info-post" limit="1" />
<div class="box-list suggested-l">
<h3>Suggested sites</h3>
<ul>
<txp:linklist break="li" category="favourite" form="suggested-l" class="fav-links" />
<a class="all-sugg" href="<txp:site_url />links/?c=favourite">see all sites</a>
</div>
</txp:if_individual_article>
<txp:if_article_list>
<h3 class="current-c">Current category: <txp:category /></h3>
</txp:if_article_list>
</txp:if_section>

<txp:if_section name="archive_c">
<p class="browse-by-c"><a href="<txp:site_url />archive_d">Browse by MONTH</a></p>
<p class="browse-by-act"><a href="<txp:site_url />archive_c">Browse by CATEGORY</a></p>
</txp:if_section>

<txp:if_section name="archive_d">
<p class="browse-by-act"><a href="<txp:site_url />archive_d">Browse by MONTH</a></p>
<p class="browse-by-d"><a href="<txp:site_url />archive_c">Browse by CATEGORY</a></p>
</txp:if_section>

<txp:if_section name="about">
<txp:article_custom section="about" form="title_post" />
</txp:if_section>

</div> <!-- end #sidebar -->
</div><!-- end #content -->
<txp:output_form form="footer" />
</div> <!-- end #page -->
</body>
</html>