The <seealso>
tag
<seealso>
links to other pages that have corresponding keywords.
These keywords are set using the <synopsis>
tag.
As soon as any of the keywords in the given page matches a keyword on another page, a link
is generated. Note that this is not limited to the current directory: Corbon indexes
each and every page in the site.
If (and only if) related pages are found, Corbon generates a
<h2>
header tag using the special "crb-seealso" style class
containing the text "See Also". Beneath that, it gives an unordered
list (
)of all other
pages containing their names (also provided by the synopsis).<ul class="crb-seealso">
Attributes
- format: The format of the link list, either "list",
which uses HTML unordered lists (
<li>
), or "break", which uses<br>
tags to seperate the lines . The default is "list". - linkstyle: The CSS style class of the generated
<a href>
links. By default, no style class is generated. However, the<ul>
has the style class "crb-seealso", which you can use to style elements (but only for the "list" format). - title: The title that is shown above the list of links. The default is "See Also". Set it to an empty string to remove the title altogether.
Example
Imagine a page containing information about sea bass. One of its keywords is "fish". Used in a site with information on other fish, this tag:
<seealso title="Other fish species" format="break" linkstyle="fishlink" />
Will result in this output: