You might have noticed that this blog got just a little bit shinier.
A tip I might suggest when playing with jekyll - pay attention to your
site.VAR variables. These will be in your
_config.yml file, and you might run into issues if you’ve been using, say,
BASE_URL and your new theme uses
I’ve been using basic quote-style indentation til now in my markdown posts, that then gets rendered into HTML by jekyll.
However, instead, I could have just used the embedded tweet option. Click on any tweet, follow the
... button to
If I create a tweet, copy the embed, and then delete it. It doesn’t get shiny.
I gave my blog a bit of a spruce up https://t.co/73UBzrkZzF— Katie McLaughlin (@glasnt) November 19, 2015
But, if I copy a good one:
In the last year, I've given 28 talks across eight cities in two countries. And it was *awesome*. https://t.co/oVFaPKuCsl— Katie McLaughlin (@glasnt) November 4, 2015
.. that just happens to have a link to this blog, I get a nice twitter card now!
You know how you can add a
<meta> content to your page and that can appear in the google search listing? Well, it’s the same with twitter, except they are nice and use the
You can read all about how to get this working for your site, but the lowdown is that you can add something as simple as this to your Jekyll site, in say the
_include/head.html, or whereever your other
meta tags live:
<!-- Twitter Cards! --> <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@glasnt" /> <meta name="twitter:title" content="Shiny Blog, and Twitter Cards" /> <meta name="twitter:description" content="Hey, look, this gets embedded in a Twitter Card!" /> <meta name="twitter:image" content="http://glasnt.com/glasnt.png" />
Note that for the
twitter:site page, if you want to see your data in the Twitter Analytics website, you have to add your username. For
twitter:image, I’ve used a placeholder image, because I don’t normally have images. However, for say a photoblog, the content of your posted image would work well here.
Also, linking to this page may break, because I’m copying the meta tags in part of my webpage, so you might see some differences.