Files
notifications-admin/app/templates/views/support/public.html
Chris Hill-Scott 92ffe3a78c Use meta tag to tell search engines not to index
Google’s documentation says:

> robots.txt is not a mechanism for keeping a web page out of Google. To
> keep a web page out of Google, you should use noindex directives

A noindex directive means adding the following meta tag to pages that
shouldn’t be indexed:
```html
<meta name="robots" content="noindex" />
```

It’s also possible to set the directive as a HTTP header, but this seems
trickier to achieve on a per-view basis in Flask.

I’ve implemented this as a decorator so it can quickly be added to any
other pages that we decide shouldn’t appear in search results.
2020-05-27 10:19:48 +01:00

49 lines
1.6 KiB
HTML

{% extends "withoutnav_template.html" %}
{% from "components/page-header.html" import page_header %}
{% block per_page_title %}
The GOV.UK Notify service is for people who work in the government
{% endblock %}
{% block maincolumn_content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
{{ page_header(
'The GOV.UK Notify service is for people who work in the government',
back_link=url_for('.support')
) }}
<p class="govuk-body">
We cannot give advice to the public. We do not have access to information about you held by government departments.
</p>
<p class="govuk-body">
There are other pages on GOV.UK where you can get help:
</p>
<h2 class="govuk-heading-m govuk-!-margin-bottom-1">
<a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/coronavirus">Coronavirus (COVID-19)</a>
</h2>
<p class="govuk-body">
Find guidance and support.
</p>
<h2 class="govuk-heading-m govuk-!-margin-bottom-1">
<a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/contact">Contact the government</a>
</h2>
<p class="govuk-body">
Ask about benefits, driving, transport, tax, and more.
</p>
<h2 class="govuk-heading-m govuk-!-margin-bottom-1">
<a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/report-suspicious-emails-websites-phishing">Report internet scams and phishing</a>
</h2>
<p class="govuk-body">
Advice on suspicious emails and text messages.
</p>
</div>
</div>
{% endblock %}