From 553ffbfcb5eacc9cf2ae8669e4335539b8903fb3 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 23 May 2019 07:03:01 +0530 Subject: [PATCH] FEATURE: add OpenGraph data to /login page --- app/views/static/login.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/static/login.html.erb b/app/views/static/login.html.erb index 19fa6ac0620..22953acf0b2 100644 --- a/app/views/static/login.html.erb +++ b/app/views/static/login.html.erb @@ -3,3 +3,7 @@ <%= PrettyText.cook(I18n.t("login_required.#{SiteSetting.invite_only? ? "welcome_message_invite_only" : "welcome_message"}", title: SiteSetting.title)).html_safe %> <% end %> + +<% content_for :head do %> + <%= raw crawlable_meta_data(title: SiteSetting.title, description: SiteSetting.site_description) %> +<% end %>