summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/sitemap.xml.latte
blob: bd54d0431ccd55a885e20620fe9785b6b60da630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{contentType xml}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
	<loc>{$config->baseUrl}/index.html</loc>
</url>
<url n:foreach="$namespaces as $namespace">
	<loc>{$config->baseUrl}/{$namespace|namespaceUrl}</loc>
</url>
<url n:foreach="$packages as $package">
	<loc>{$config->baseUrl}/{$package|packageUrl}</loc>
</url>

{define elements}
<url n:foreach="$elements as $element">
	<loc>{$config->baseUrl}/{$element|elementUrl}</loc>
</url>
{/define}

{include elements, elements => $classes}
{include elements, elements => $interfaces}
{include elements, elements => $traits}
{include elements, elements => $exceptions}
{include elements, elements => $constants}
{include elements, elements => $functions}
</urlset>