Browse Source

og: fix missing title

pull/1371/head
Misty De Meo 2 months ago
parent
commit
c6675b5807
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 2
      app/views/layouts/mailer.html.haml
  2. 2
      app/views/layouts/mailer.text.erb
  3. 2
      app/views/shared/_og.html.haml

2
app/views/layouts/mailer.html.haml

@ -79,7 +79,7 @@
%h4
= site_title
%p.email-footer-p
= t 'about.hosted_on', domain: site_hostname
= t 'about.hosted_on', domain: site_hostname, title: Setting.site_title
%p.email-footer-p
= link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url
- if defined?(@unsubscribe_url)

2
app/views/layouts/mailer.text.erb

@ -1,5 +1,5 @@
<%= yield %>
---
<%= t 'about.hosted_on', domain: site_hostname %>
<%= t 'about.hosted_on', domain: site_hostname, title: Setting.site_title %>
<%= t('application_mailer.settings', link: settings_preferences_url) %>

2
app/views/shared/_og.html.haml

@ -3,7 +3,7 @@
%meta{ name: 'description', content: description }/
= opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname)
= opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname, title: Setting.site_title)
= opengraph 'og:url', url_for(only_path: false)
= opengraph 'og:type', 'website'
= opengraph 'og:title', instance_presenter.title

Loading…
Cancel
Save