diff --git a/layout/_partials/head/head-unique.njk b/layout/_partials/head/head-unique.njk index 899494416..517ff4834 100644 --- a/layout/_partials/head/head-unique.njk +++ b/layout/_partials/head/head-unique.njk @@ -12,7 +12,9 @@ {%- set canonical = canonical | replace(r/\.html$/, '') %} {%- endif %} - +{%- if page.noindex %} + +{%- endif %} {# Exports some front-matter variables to Front-End #} {# https://hexo.io/docs/variables.html #} {{ next_data('page', next_config_unique()) }}