added noindex variable for search engine optimization via front matter
This commit is contained in:
parent
52b109bafd
commit
259b696f1b
3 changed files with 6 additions and 2 deletions
|
@ -110,7 +110,7 @@ defaults:
|
|||
google_author: "https://plus.google.com/u/0/118311555303973066167"
|
||||
google_site_verification: "Vk0IOJ2jwG_qEoG7fuEXYqv0m2rLa8P778Fi_GrsgEQ"
|
||||
bing_webmastertools_id: "0FB4C028ABCF07C908C54386ABD2D97F"
|
||||
alexa_verify_id: "m1VxsMv1gIN-up4Sw0PGQIvyCRw"
|
||||
# alexa_verify_id: ""
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||
<link rel="stylesheet" href="{{ site.url }}/assets/css/styles_feeling_responsive.css">
|
||||
<link rel="stylesheet" href="{{ site.url }}/assets/css/styles_feeling_responsive.css">
|
||||
<script src="{{ site.url }}/assets/js/modernizr.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
@ -50,4 +50,7 @@
|
|||
{% if page.image.thumb %}<meta property="og:image" content="{{ site.url }}/images/{{ page.image.thumb }}" />{% endif %}
|
||||
|
||||
{% if site.alexa_verify_id %}<meta name="alexaVerifyID" content="{{ site.alexa_verify_id }}" />{% endif %}
|
||||
|
||||
<!-- Search Engine Optimization -->
|
||||
{% if page.noindex == true %}<meta name="robots" content="noindex">{% endif %}
|
||||
</head>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
format: blog-index
|
||||
noindex: true
|
||||
---
|
||||
<div class="row">
|
||||
<div class="medium-8 columns t30">
|
||||
|
|
Reference in a new issue