Skip to content

Commit

Permalink
Prevent images from being indexed
Browse files Browse the repository at this point in the history
Those are room avatars and we really don’t want to have those
indexed. At least, it’s not our job to ensure they are.
  • Loading branch information
horazont committed Oct 4, 2019
1 parent a57cbab commit 93ccf34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions muchopper/web/templates/skeleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
{% if config["NOINDEX"] %}
<!-- Enabled via NOINDEX config option. -->
<meta name="robots" content="noindex">
{% else %}
<meta name="robots" content="noimageindex">
{% endif %}
{% block head_includes %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/core/base.min.css') }}">
Expand Down

0 comments on commit 93ccf34

Please sign in to comment.