Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images not showing on Twitter cards or Open Graph #129

Open
Jubijub opened this issue Mar 10, 2018 · 1 comment
Open

Images not showing on Twitter cards or Open Graph #129

Jubijub opened this issue Mar 10, 2018 · 1 comment

Comments

@Jubijub
Copy link

Jubijub commented Mar 10, 2018

Expected Behavior

Current Behavior

  • No image are showing (I am no Go expert, but checking at the generated code, no <meta name="twitter:image" shows up
  • Twitter card validator logically picks no images either.

Possible Solution

Steps to Reproduce or Template with Error (for bugs)

  1. create a post with a featured image
  2. notice the generate code contains no twitter card image tag

Your Environment

  • site is hosted on Gitlab pages, but is equally reproducible locally using hugo server

Hugo Version:

Hugo Static Site Generator v0.37.1 linux/amd64 BuildDate: 
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.10"

Browser:
Any, the problem is in the generated HTML

Desktop or Mobile:
Any

Link to your project:
https://www.jubi.blog/blog/2018-03-why-hiring-can-seem-unfair/

@pacollins
Copy link
Collaborator

#115 addressed this for the site as a whole, but there is not currently OG for posts. If you'd like to create a PR, I'm sure everyone would really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants