octopress / social

Social share and follow buttons (or privacy-friendly links)
MIT License
16 stars 8 forks source link

Added twitter_timeline_tag to do a custom widget #16

Open mandreko opened 8 years ago

mandreko commented 8 years ago

So in older Octopress versions, I had put my Twitter timeline on my home page, to show my most recent tweets. To do this, I created a widget in Twitter's settings:

widgets_control_panel

Once I had the widget ID (available when you edit), I was able to add the timeline to my page using the attached code with the "twitter_timeline_tag" Liquid tag. It made a nice little side panel on my blog:

twitter_timeline

I liked this functionality, so I figured someone else would too. It wasn't super hard to add the library, so hopefully I did it right. I'm more of a C# developer than ruby :)