From 595dd537fd298991748db04238bd2dbcbb019da7 Mon Sep 17 00:00:00 2001 From: Luke McGregor Date: Wed, 3 May 2017 14:37:57 +1200 Subject: [PATCH] Added noindex to non-content pages --- _includes/head.html | 3 +++ categories.md | 3 ++- index.html | 3 ++- tags.md | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 93c683e..de88be4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,6 +2,9 @@ + {% if page.robots %} + + {% endif %} {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} diff --git a/categories.md b/categories.md index f2b94c7..2d69deb 100644 --- a/categories.md +++ b/categories.md @@ -2,4 +2,5 @@ layout: categories title: Categories permalink: /categories/ ---- \ No newline at end of file +robots: noindex +--- diff --git a/index.html b/index.html index 0b14cfc..ed06eaa 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,6 @@ --- layout: default +robots: noindex ---
@@ -21,4 +22,4 @@