Skip to content

Commit

Permalink
Update Robots.latte
Browse files Browse the repository at this point in the history
  • Loading branch information
peldax committed Apr 17, 2018
1 parent 742754f commit 76a385f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Robots.latte
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 76a385f

Please sign in to comment.