Skip to content

Commit

Permalink
Merge pull request #67 from kylekirkby/robots_txt_fix
Browse files Browse the repository at this point in the history
Robots.txt fix / theme version update
  • Loading branch information
Kyle committed Dec 17, 2019
2 parents 657edf2 + 45328a0 commit 25a6173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,5 +1,5 @@
source "https://rubygems.org"
gem "jumbo-jekyll-theme", "5.6.5"
gem "jumbo-jekyll-theme", "5.6.9.2"
group :jekyll_plugins do
gem "jekyll-data"
end
Expand Down
7 changes: 3 additions & 4 deletions robots.txt
@@ -1,10 +1,9 @@
---
{% if site.production == true %}
---
User-agent: *
Disallow:
{% if site.production %}
Allow: /
Sitemap: {{site.url}}/sitemap.xml
{% else %}
User-agent: *
Disallow: /
Sitemap: {{site.url}}/sitemap.xml
{% endif %}

0 comments on commit 25a6173

Please sign in to comment.