diff --git a/Envfile b/Envfile index fb2897eb2..9603fb9ba 100644 --- a/Envfile +++ b/Envfile @@ -11,6 +11,7 @@ enable_defaults! { ENV["RACK_ENV"] != "production" } variable :APP_DOMAIN, :String, default: "localhost:3000" variable :APP_PROTOCOL, :String, default: "http://" variable :COMMUNITY_NAME, :String, default: "DEV(local)" +variable :MAIN_SOCIAL_IMAGE, :String, default: "https://thepracticaldev.s3.amazonaws.com/i/6hqmcjaxbgbon8ydw93z.png" # Logo variable :LOGO_SVG, :String, default: "" diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb index 0f5af1767..42d03ca76 100644 --- a/app/views/articles/index.html.erb +++ b/app/views/articles/index.html.erb @@ -12,14 +12,14 @@ - + "> - + "> <%= auto_discovery_link_tag(:rss, "https://dev.to/feed", title: "#{ApplicationConfig['COMMUNITY_NAME']} RSS Feed") %> <% end %> diff --git a/app/views/articles/search/_meta.html.erb b/app/views/articles/search/_meta.html.erb index 5393bdbd8..b543273a5 100644 --- a/app/views/articles/search/_meta.html.erb +++ b/app/views/articles/search/_meta.html.erb @@ -6,12 +6,12 @@ - +"> - +"> diff --git a/app/views/articles/tags/_meta.html.erb b/app/views/articles/tags/_meta.html.erb index 30e92c1a0..6ea491d1d 100644 --- a/app/views/articles/tags/_meta.html.erb +++ b/app/views/articles/tags/_meta.html.erb @@ -23,7 +23,7 @@ <% else %> - - + "> + "> <% end %> diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index 4a3b61c76..bd3e8d7a9 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -10,7 +10,7 @@ <% if @event.cover_image.present? %> <% else %> - + " /> <% end %> @@ -22,7 +22,7 @@ <% if @event.cover_image.present? %> <% else %> - + "> <% end %> <% end %> diff --git a/app/views/pages/community_moderation.html.erb b/app/views/pages/community_moderation.html.erb index cad1ffd1f..86ce1f319 100644 --- a/app/views/pages/community_moderation.html.erb +++ b/app/views/pages/community_moderation.html.erb @@ -8,7 +8,7 @@ - + " /> @@ -16,7 +16,7 @@ - + "> <% end %>