# (No) Opengraph meta data on login page

**URL:** <https://meta.discourse.org/t/no-opengraph-meta-data-on-login-page/118301>\
**Category:** Feature\
**Created:** [May 21, 2019, 11:51am UTC](https://meta.discourse.org/t/no-opengraph-meta-data-on-login-page/118301 "2019-05-21T11:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [May 21, 2019, 7:09pm UTC](https://meta.discourse.org/t/no-opengraph-meta-data-on-login-page/118301/2 "2019-05-21T19:09:18Z")

</div>

You’d have to edit [login.html.erb](https://github.com/discourse/discourse/blob/master/app/views/static/login.html.erb) in a plugin

It would probably be as simple as adding this (which is what we do in show.html.erb)

```plaintext
<% if @title %>
  <% content_for :title do %><%= @title %><% end %>
  <% content_for :head do %>
    <%= raw crawlable_meta_data(title: @title, description: SiteSetting.site_description) %>
  <% end %>
<% else %>
  <% content_for :head do %>
    <%= raw crawlable_meta_data(title: SiteSetting.title, description: SiteSetting.site_description) %>
  <% end %>
<% end %>

```

I think all the data that gets used for OG Meta tags is already present on the login page… so I don’t think it’s omitted for privacy reasons or anything? Seems like we should add it.

---

_[View the full topic](https://meta.discourse.org/t/no-opengraph-meta-data-on-login-page/118301)._
