Skip to content

Commit

Permalink
Add robots.txt and sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
seabre committed Sep 5, 2014
1 parent e801d69 commit 2ce01a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ og_image_width: 300
og_image_height: 300
fb_profile_id: OpenChattanooga
fb_admins: 57701055

gems:
- jekyll-sitemap
7 changes: 7 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
---
User-agent: *
{% for node in site.pages %}{% if node.noindex %}{% assign isset = true %}Disallow: {{ node.url }}
{% endif %}{% endfor %}{% if isset != true %}Disallow:
{% endif %}
Sitemap: {{ site.url }}/sitemap.xml

0 comments on commit 2ce01a8

Please sign in to comment.