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
Send a page
- tag
Shows all known links for a tag
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