@export: sub-posts

Type: Agent

This sets forces or suppresses the export of sub-posts, and then colors the background to let you know.

Sub-posts are controlled by assigning simple, single-word options to the $blogExpOpt attribute. You can omit the sub-post entirely (SKIP) or only in the Table of Contents (NOTOC). You can export the sub-post as its own page while also including it in its parent post (OWNPAGE) or while omitting it therefrom (FOOTNOTE).

See here for details on the coloring schemes.

$AgentQuery

(descendedFrom("BlogPOSTS") & $OutlineDepth(original)>4)

$AgentAction

if($blogExpOpt.contains("SKIP"))
	{$blogReady=;$HTMLDontExport=1;$Color=_skip}else{$Color=;}; 
if($blogExpOpt.contains("OWNPAGE"))
	{$blogReady=1;$HTMLDontExport=;$OutlineBackgroundColor=_ownpage; $ShadowColor=#8f0;$Shadow=1;}; 
if($blogExpOpt.contains("FOOTNOTE"))
	{$blogReady=1;$HTMLDontExport=;$OutlineBackgroundColor=_footnote;$ShadowColor=#08f;$Shadow=1;}; 
if($blogExpOpt.contains("NOTOC"))
	{$blogReady=;$HTMLDontExport=;$OutlineBackgroundColor=_notoc;$ShadowColor=#f44;$Shadow=1;}; }
else{$blogReady=;$HTMLDontExport=;$Color=;$ShadowColor=;$Shadow=;$OutlineBackgroundColor=;};