Forem: og:site_name meta tag is broken

Created on 12 Apr 2019  路  1Comment  路  Source: forem/forem

Describe the bug
The site name appears as "The #{ApplicationConfig['COMMUNITY_NAME']} Community" (no text substitution is occurring).

To Reproduce
Steps to reproduce the behavior:

  1. Go to the main page of Dev.to
  2. Inspect the meta tags in the HTML
  3. See the tag
<meta property="og:site_name" content="The #{ApplicationConfig['COMMUNITY_NAME']} Community">

Expected behavior
String substitution should occur, replacing #{ApplicationConfig['COMMUNITY_NAME']} with the actual name of the community.

Additional context
It seems like the string is lacking the <%= tag needed for the erb template. See here. Git blame says its @benhalpern's fault 馃槈

ready for dev bug

Most helpful comment

I'll be taking this on if no one's working on it :)

>All comments

I'll be taking this on if no one's working on it :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mstruve picture mstruve  路  42Comments

Defman21 picture Defman21  路  29Comments

nickytonline picture nickytonline  路  46Comments

Gbahdeyboh picture Gbahdeyboh  路  43Comments

benhalpern picture benhalpern  路  54Comments