~edwargix/git.sr.ht

8b490a962167a7ab7642b9d56f720857513f4110 — Drew DeVault 7 years ago e3e6fe9
Prevent crawlers from indexing unlisted repos
1 files changed, 5 insertions(+), 0 deletions(-)

M gitsrht/templates/repo.html
M gitsrht/templates/repo.html => gitsrht/templates/repo.html +5 -0
@@ 1,4 1,9 @@
{% extends "git.html" %}
{% block head %}
{% if repo.visibility.value =='unlisted' %}
<meta name="robots" content="noindex">
{% endif %}
{% endblock %}
{% block body %}
<div class="container-fluid">
  <div class="row">