We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e8e90 commit 28a0bb8Copy full SHA for 28a0bb8
src/Robots.latte
@@ -0,0 +1,23 @@
1
+{*
2
+ * This file is part of Nepttune (https://www.peldax.com)
3
+ *
4
+ * Copyright (c) 2018 Václav Pelíšek (info@peldax.com)
5
6
+ * This software consists of voluntary contributions made by many individuals
7
+ * and is licensed under the MIT license. For more information, see
8
+ * <https://www.peldax.com>.
9
+*}
10
+
11
+Sitemap: {$baseUrl}/sitemap.xml
12
13
+{foreach $robots as $robot}
14
+User-agent: {$robot['name']}
15
+{if is_array($robot['disallow'])}
16
+ {foreach $robot['disallow'] as $rule}
17
+ Disallow: {$rule}
18
+ {/foreach}
19
+{else}
20
+ Disallow:
21
+{/if}
22
23
+{/foreach}
0 commit comments