@export: status badge
Type: Agent
This sets the badges that indicate crucial notes’ export status. The two attributes together yield four permutations. These include:
- Top level notes.
- Children of blogTopNote.
- Children of Blog POSTS.
- Children of Blog PAGES.
- CSS files.
Each gets its own $Badge
as shown here:
$AgentQuery
($OutlineDepth==1) | ( (descendedFrom("BlogTopNote")|descendedFrom("CSS")) & ($OutlineDepth=2)) | ($Name(parent)=="Blog POSTS") | ($Name(parent)=="Blog PAGES") & !$IsAlias & $Name!="Dashboard"
$AgentAction
if($HTMLDontExport){if($HTMLExportChildren){$Badge="arrow down"}else{if($Name!=Dashboard){$Badge="label red"}}}else{if($HTMLExportChildren){$Badge="label green"}else{$Badge="arrow up"}}