Templates: Juneindex: About
Juneindex uses a simple template system with XML-style tags. The majority of your template should look like a complete HTML page, with these tags mixed in. All of the tags follow the same basic format: <juneindex:tagname attribute="value" />
It is important that your tags are well formed and properly nested. Attribute values should always have quotes around them and you shouldn’t have unnecessary spaces before or after the equal sign. Tag names and attributes should always be lowercase. Tags that don’t have a closing tag should be self-closing, meaning they should have a slash before the end bracket. For example:
This is fine: <juneindex:files></juneindex:files>
This is fine: <juneindex:filename />
This is wrong: <juneindex:filename>
In the last example, Juneindex will assume that everything following the tag is nested inside of it, which could result in the tag not displaying anything, or sections of your template disappearing. Template tags have an alternate format that allows you to nest them inside of other tags. For example:
<div class="{juneindex:alternate}"></div>
When used this way, tags do not have to have a closing slash.
Return to the Tag Reference for a full listing of Juneindex template tags. Click a tag name for an explanation of how to use it, and the possible attributes you can use.