_includes/head/head.html in slow-steps-0.4.4 vs _includes/head/head.html in slow-steps-0.4.5
- old
+ new
@@ -29,11 +29,17 @@
<meta name="author" content="{{ site.data.authors.default.name }}" />
{% assign date = 'now' | date: "%Y" %}
<meta name="copyright" content="Copyright {{ site.title | append: ' Limited ' | append: date }}" />
+ <!-- if production, get bots to follow us -->
+ {% if jekyll.environment == "production" %}
<meta name="robots" content="follow" />
+ <!-- else, stop the site from beinf indexed -->
+ {% else %}
+ <meta name="robots" content="noindex">
+ {% endif %}
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<link rel="preconnect" href="https://fonts.gstatic.com">
@@ -50,11 +56,9 @@
{% include /head/stylesheets.html %}
{% if jekyll.environment == "production" %}
{% include head/google-analytics.html %}
{% endif %}
-
-
</head>
<body class="preload" onload="animate_after_load()">