From 013ab717ecc4fd37e92ac646f0654f564d9846ce Mon Sep 17 00:00:00 2001 From: Victor Kropp Date: Mon, 14 Nov 2016 00:04:28 +0100 Subject: [PATCH] hugolib: Add shortcode for Instagram --- content/extras/shortcodes.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/extras/shortcodes.md b/content/extras/shortcodes.md index 68dbb6681..8196446b5 100644 --- a/content/extras/shortcodes.md +++ b/content/extras/shortcodes.md @@ -225,6 +225,19 @@ Extract the value from the field `data-id` and pass it to the shortcode: {{}} +### Instagram + +If you'd like to embed photo from [Instagram](https://www.instagram.com/), all you need is photo ID from the URL, e. g.: + +* https://www.instagram.com/p/BMokmydjG-M/ + +Pass it to the shortcode: + + {{}} + +Optionally, hide caption: + + {{}} ## Creating your own shortcodes