Do not index preview pages by search engines

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2022-11-26 23:55:40 +01:00
parent 98a9e85015
commit cd9bc2a1d7

View file

@ -18,6 +18,8 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
{% endblock %}
<link rel="canonical" href="{{ config.base_url | safe }}{{ resource.path | safe }}">
{%- set preview_image = 'images/screenshots/prague.jpg' -%}
{%- if resource.extra.preview_image -%}
{%- set preview_image = resource.extra.preview_image -%}