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

Sort out meta og:image and meta twitter:image #4

Closed
1 of 2 tasks
julianorchard opened this issue Dec 3, 2021 · 1 comment
Closed
1 of 2 tasks

Sort out meta og:image and meta twitter:image #4

julianorchard opened this issue Dec 3, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@julianorchard
Copy link
Owner

julianorchard commented Dec 3, 2021

Two tasks for this really;

  • Create a default location, like /res/default.jpg which could be used as a default input for <meta name="twitter:image" and <meta property="og:image".
  • REMOVED THIS: Check if there's a jpg or png file in '/res/name-of-post/relating to each page, and if there is, use that as<meta name="twitter:imageand<meta property="og:image"`.

I'll also automatically create this location (/res/name-of-post/) upon the posts creation (automate populating that file location??)

@julianorchard julianorchard added the enhancement New feature or request label Dec 3, 2021
@julianorchard julianorchard self-assigned this Dec 3, 2021
julianorchard added a commit that referenced this issue Dec 4, 2021
@julianorchard
Copy link
Owner Author

Instead of having it so it looks in res/name-of-post, just input image normally, which is nice (although I think the previously thought about idea would be neater in the long run...)

julianorchard added a commit that referenced this issue Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant