mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #11736 from dacook/registration-noindex
Print robots tag for registration layout
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
%head
|
||||
%meta{charset: 'utf-8'}/
|
||||
%meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/
|
||||
- if !Rails.env.production? || @noindex_meta_tag
|
||||
%meta{name: "robots", content: "noindex"}
|
||||
|
||||
%title= content_for?(:title) ? "#{yield(:title)} - #{Spree::Config[:site_name]}".html_safe : "#{t(:welcome_to)} #{Spree::Config[:site_name]}"
|
||||
- if Rails.env.production?
|
||||
|
||||
Reference in New Issue
Block a user