[% DEFAULT depth = 1 %]
[% DEFAULT indent = 0 %]
[% IF article %]
[% IF article.enabled %]
[% SET article_detail_href = "${url.absolute}/page/article.html?article_id=${article.id}" %]
[% SET article_comment_href = "${url.absolute}/page/article_add.html?parent_id=${article.id}" %]
[% article.title.html %][% IF title_only %]...[% END %] |
[% UNLESS title_only %]
|
[% IF shortform %]
[% article.content_para1.txt2html %] |
[% ELSE %]
[% article.content.txt2html %] |
[% END %]
[% END %]
|
[% IF depth > 2 %]
[% FOREACH x = article.get_entry %]
[% INCLUDE "lib/page/_article.html"
article = x
depth = (depth - 1)
indent = (indent + 1)
%]
[% END %]
[% END %]
[% END %]
[% ELSE %]
Cannot find article. |
[% END %]