Commit e6a09cc7 authored by Leon Byford's avatar Leon Byford

exclude doodle and tag from index and sitemap

parent 61d2a185
......@@ -45,7 +45,7 @@
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml">
<!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now -->
{% if page.url == "/tag" %}
{% if page.url contains "." or page.index == false %}
<meta name="robots" content="noindex, follow">
{% endif %}
</head>
......
---
layout: page
title: Doodle poll results
index: false
---
**Social watching: Q3 2018 anime**
......
......@@ -11,7 +11,7 @@
{% endif %}
{% endfor %}
{% for page in site.pages %}
{% unless page.url contains "." or page.url == "/tag" or page.sitemap == false %}
{% unless page.url contains "." or page.index == false %}
<url>
<loc>{{site.url}}{{site.baseurl}}{{page.url}}</loc>
</url>
......
---
layout: page
index: false
---
{% for tag in site.tags %}
{% assign thisTag = tag | first %}
......
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