> Embed web pages in your post

Recently, I found Hugo, which is another static site generator, comes with some useful shortcodes that allows you embed html figure, instagram, speakerdeck, youtube, twitter and so on in your post. That’s a great feature for some social guys.

And of course, we can do this in hexo with some plugins.

Thanks god. I don’t even play Instagram, twitter. And my youtube channel is just full with school stuff. What a boring man am I.😂😂😂 So I just put other people’s nice one here as examples.

> Youtube

For youtube or other video resources, you can embed videos with hexo-tag-video. Thanks geekplux for this interesting plugin.

Very easy to install. Here is an example.

  • embed code for youtube
{% video <iframe width="560" height="315" src="https://www.youtube.com/embed/k5X2Hb3tc2s" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> %}

> Instagram & Twitter

For Instagram, hexo-tag-instagram is built by tea3. He built hexo-tag-twitter as well. Great job done, tea3!

  • embed code for instgram
{% instagram instgram-url %}

  • embed code for twitter
{% twitter tweet-url %}