Skip to content

Commit

Permalink
Add noindex meta tag for on-canonical URLs (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb committed Jun 21, 2020
1 parent 2afcbd3 commit ab5ad0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- if request.url_root != "https://almanac.httparchive.org/" %}
<meta name="robots" content="noindex">
{%- endif %}
{% block meta %}
<meta property="og:title" content="{{ self.title() }}">
<meta property="og:image" content="/static/images/ha.png">
Expand Down

0 comments on commit ab5ad0d

Please sign in to comment.