Open jeffcovey opened 4 years ago
Same problem
Same issue
I had this issue but also had
I had this issue but also had
Site Name just above the display_meta_tags line and when I removed it, it all started working. Strange though because I swear I have older sites that are setup like that and thetags just got ignored. Maybe I'm wrong. Oh, well, it's working now.
I’m afraid this isn’t the answer for me. I don’t have <title>
set in addition to display_meta_tags
.
I had this issue but also had
Site Name just above the display_meta_tags line and when I removed it, it all started working. Strange though because I swear I have older sites that are setup like that and thetags just got ignored. Maybe I'm wrong. Oh, well, it's working now.
Worked for me - Thanks Tressa-Sanders!
I had this issue but also had
Site Name just above the display_meta_tags line and when I removed it, it all started working. Strange though because I swear I have older sites that are setup like that and thetags just got ignored. Maybe I'm wrong. Oh, well, it's working now. Worked for me - Thanks Tressa-Sanders!
Awesome! It's always the little things that getcha. 👍
Hmmm but it looks like you have this in the body: = title 'page title'
Sorry, I should have said that my five-month-old question no longer reflects what I’m doing now. 🙂
Now I’m using:
= display_meta_tags site: 'site title', title: 'page title', og: { title: 'page title', site_name: 'site title' }, image_src: image_url('front.jpg'), keywords: 'foo, bar, baz', description: 'yada yada'
I still get just the title of the page in <title>
.
Hello, everyone!
I'm sorry to say I can't seem to get started with this gem. Following the instructions, I've installed it and added this to
app/views/layouts/application.html.slim
:The page title is set as a variable from the view, but you get the idea. I've tried setting it as an interpolated variable and as a simple string.
The documentation says: "When views are rendered, the page title will be included in the right spots", but... it's not. The
<title>
tag contains only the name of the site. The name of the specific page is absent. Can anyone tell me what I'm doing incorrectly?Thanks very much, Jeff