Skip to content

Commit

Permalink
If sitemap == false, add noindex
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjp committed Jul 21, 2024
1 parent b27ed3f commit beb3d29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
<meta name="twitter:site" content="@k3jph" />
<meta name="twitter:creator" content="@k3jph" />

{% unless page.sitemap == false %}
<meta name="robots" content="noindex" />
{% endunless %}

<meta content='width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=1' name='viewport' />
<link href="{{ '/assets/css/bootstrap.css' | relative_url }}" rel="stylesheet" />
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
Expand Down

0 comments on commit beb3d29

Please sign in to comment.