@export: status badge

Type: Agent

This sets the badges that indicate crucial notes’ export status. The two attributes together yield four permutations (see here). These include:

  • Top level notes.
  • Children of blogTopNote.
  • Children of BlogPOSTS.
  • Children of BlogPAGES.
  • CSS files.

Each gets its own $Badge as shown here:

$Badge settings for top-level notes.

$Badge settings for top-level notes.

$AgentQuery

($OutlineDepth==1) | ( (descendedFrom("BlogTopNote")|descendedFrom("CSS")) & ($OutlineDepth=2)) | ($Name(parent)=="BlogPOSTS") | ($Name(parent)=="BlogPAGES") & !$IsAlias & $Name!="BlogDashboard" 

$AgentAction

if($HTMLDontExport){if($HTMLExportChildren){$Badge="arrow down"}else{if($Name!=BlogDashboard){$Badge="label red"}}}else{if($HTMLExportChildren){$Badge="label green"}else{$Badge="arrow up"}}