public class TOCTemplate extends Template
Constructor and Description |
---|
TOCTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(RewriteContext hr)
Called before this template processes any tags.
|
void |
tag_h1(RewriteContext hr)
Add a name anchor to the H1 tag, so we can go there,
and set the request properties:
TOC.[anchor]
to the text of the H1 tag. |
public boolean init(RewriteContext hr)
Template
init
in interface TemplateInterface
init
in class Template
public void tag_h1(RewriteContext hr)
TOC.[anchor]
to the text of the H1
tag.