From 76a385fba6d0279a2474423bd033912d73cd7d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pel=C3=AD=C5=A1ek?= Date: Tue, 17 Apr 2018 13:55:07 +0200 Subject: [PATCH] Update Robots.latte --- src/Robots.latte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Robots.latte b/src/Robots.latte index 6230088..fae9678 100644 --- a/src/Robots.latte +++ b/src/Robots.latte @@ -13,11 +13,11 @@ Sitemap: {$baseUrl}/sitemap.xml {foreach $robots as $robot} User-agent: {$robot['name']} {if is_array($robot['disallow'])} - {foreach $robot['disallow'] as $rule} - Disallow: {$rule} - {/foreach} +{foreach $robot['disallow'] as $rule} +Disallow: {$rule} +{/foreach} {else} - Disallow: +Disallow: {/if} {/foreach}