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

Twitter card #22

Open
jennybc opened this issue Feb 12, 2019 · 5 comments
Open

Twitter card #22

jennybc opened this issue Feb 12, 2019 · 5 comments

Comments

@jennybc
Copy link
Member

jennybc commented Feb 12, 2019

It would be good to sort out a twitter card for this site. Because here's how the twitter preview looks now:

screen shot 2019-02-11 at 6 20 26 pm

I know essentially nothing about this but @batpigandme and @apreshill have made magic happen for many bookdown and blogdown sites. If you're interested, I bet one of them could point you in the right direction.

@batpigandme
Copy link

My favorite guide/the one I used for this is "Socialize your blogdown" (here: https://xvrdm.github.io/2017/10/23/socialize-your-blogdown/ ).

Here's the layout I ended up adding to my template (though the where is theme-dependant):
https://github.com/rbind/waxwings/blob/master/layouts/seo/twitter.html

@apreshill
Copy link

@batpigandme
Copy link

Oh! Sorry, did not realize this was jekyll. My scripts are probably not relevant.

@mgelbart
Copy link
Member

Just recording my (lack of) progress so far. I followed the instructions from the first/second link from @apreshill but it did not solve the problem. I think these may be meant for linking to individual blog posts rather than the blog homepage, but these links already looked fine. Perhaps the 3rd link will solve the problem, but I haven't gotten to it yet. One piece of good news is that there's a place to test what a link is going to look like before posting it. Thanks all for the suggestions!

@ttimbers
Copy link

ttimbers commented Jun 1, 2020

I think we are going to migrate to a blogdown hugo site this summer, so I will keep this open to remind us to do this then.

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

6 participants