Skip to content

Commit

Permalink
add ability to have pages/posts ignored by search engines with noindex
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaschak committed Feb 9, 2017
1 parent 170f6c6 commit 43c26fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<meta content="{{ site.share.fb_appid }}" property="fb:app_id">
<meta content="{{ site.title }}" property="og:site_name">

{% if page.noindex %}
<meta name="robots" content="noindex">
{% endif %}

{% if page.title %}
<meta content="{{ page.title }}" property="og:title">
<meta content="article" property="og:type">
Expand Down

0 comments on commit 43c26fd

Please sign in to comment.