Facebook and Linkedin image are working but in Twitter image not working.
Please check below screenshot and suggest.
Thanks.
Facebook and Linkedin image are working but in Twitter image not working.
Please check below screenshot and suggest.
Thanks.
You are more likely to receive assistance in this forum if you post a link to the public repository for your project. Screen captures are not very helpful.
See:
https://discourse.gohugo.io/t/requesting-help/9132
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick
git clone
on your repo, then runhugo server
in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
Please check below link of public repository.
Thanks.
{{ if .Site.Params.twitter_card_whitelisted }}
but you have no such parameter in your config.toml
Mmmmmmm … You wrote (line 110 in partial head.html) the code above
I just tell you that this code is testing a non existent variable. So the if
will never be processed.
Not sure about your last question tho.
Hey I removed line 110 & checked not working. I am new in hugo please guide what exaclty i have to write in my code.
Thanks.