summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/sitemap.xml.latte
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/apigen/pradosoft/sitemap.xml.latte')
-rw-r--r--buildscripts/apigen/pradosoft/sitemap.xml.latte25
1 files changed, 8 insertions, 17 deletions
diff --git a/buildscripts/apigen/pradosoft/sitemap.xml.latte b/buildscripts/apigen/pradosoft/sitemap.xml.latte
index 65070b57..bd54d043 100644
--- a/buildscripts/apigen/pradosoft/sitemap.xml.latte
+++ b/buildscripts/apigen/pradosoft/sitemap.xml.latte
@@ -1,13 +1,4 @@
-{*
-ApiGen 2.8.0 - API documentation generator for PHP 5.3+
-
-Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
-Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
-Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)
-
-For the full copyright and license information, please view
-the file LICENSE.md that was distributed with this source code.
-*}
+{contentType xml}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
@@ -20,16 +11,16 @@ the file LICENSE.md that was distributed with this source code.
<loc>{$config->baseUrl}/{$package|packageUrl}</loc>
</url>
-{define #elements}
+{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}
+{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>