The Tree of Widsdom

智慧の樹

BlogTopNote → index.html and index/

BlogTopNote exports as index.html—your landing or home page. This note is empty; the content of its export comes from elsewhere. Code in the template bstMainPage gathers the children of your @Home agent and includes them using the bstTruncPost template, which exports a truncated (50-word) version of the post followed by a horizontal line. (The @Home agent itself never exports as its own page.)

The @Home agent contains the six (or n) most recent posts. To change the number of recent posts, open the @Home note and type a number in the $MyNumber key attribute.

The export code from bstMainPage:

^if($Name=="BlogTopNote")^
<!-- Name==BlogTopNote -->
	^action($blogBkgOpt(bstVAR)=$blogBkgOpt)^
	^include(^value(collect_if(all,
	$Container=="/BlogTopNote/Home/",$Path))^,bstTruncPost)^
^endIf^