Commit a343dc3c authored by Mike Street's avatar Mike Street
Browse files

Make pages noindex/nofollow if draft or sitemap ignore

parent d35c451d
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
{% endif %} {% endif %}
<meta property="og:description" property="twitter:description" content="{{ intro if intro else description }}"> <meta property="og:description" property="twitter:description" content="{{ intro if intro else description }}">
{% if sitemapIgnore or draft %}
<meta name="robots" content="noindex, nofollow" />
{% endif %}
{% set count = 1 %} {% set count = 1 %}
{% if tags %} {% if tags %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment