Browse Source

Add noindex meta tag to 'Last 50 posts' thread pages

pull/40/head
discomrade 3 years ago
parent
commit
1d6ffb3f5a
  1. 2
      templates/thread.html

2
templates/thread.html

@ -22,7 +22,7 @@
<meta property="og:url" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" />
{% if thread.files.0.thumb %}<meta property="og:image" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %}
<meta property="og:description" content="{{ thread.body_nomarkup|e }}" />
{% if isnoko50 %}<meta name="robots" content="noindex">{% endif %}
<title>{{ board.url }} - {{ meta_subject }}</title>
</head>
<body id="thread" class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} active-thread" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">

Loading…
Cancel
Save