classfantomato::PageWeblet

sys::Obj
  fantomato::PageWeblet : web::Weblet

PageWeblet : Serves pages

activePathLambda

Func activePathLambda := |Str,|Str->Obj?|,Func->Obj?| { ... }

lambda to set class="active" if we are on the given page

importLambda

Func importLambda := |Str,|Str->Obj?|,Func->Obj?| { ... }

lambda to import page bits in a template

page

Void page(Str:Str args)

Send a page

tag

Void tag(Str:Str args)

Shows all known links for a tag

tagsLambda

Func tagsLambda := |Str,|Str->Obj?|,Func->Obj?| { ... }

Lambda to show the list of all known tags as a list (<li> tags) Tags that are active on the current page get bolded