-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat): Add JS suport for instagram gallery
Signed-off-by: Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com>
- Loading branch information
Showing
3 changed files
with
115 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
Title: Creating a Photo Gallery Article from Instagram post | ||
Tags: pelican-theme, pelican-plugin, photo gallery, instagram, galleriaio | ||
Category: Supported Plugins | ||
Date: 2020-01-27 17:40 | ||
Slug: how-to-use-galleriaio-plugin | ||
Subtitle: | ||
Summary: Elegant can be configured to provide a simple display of pictures. | ||
Keywords: photos, gallery, photogallery, instagram, galleriaio | ||
Authors: Pablo Iranzo Gómez | ||
instagram: B3ePmL7gd1P | ||
--- | ||
|
||
[TOC] | ||
|
||
Similar to the use case defined in [Photogallery]({filename}photogallery.md), Pelican uses <https://galleria.io> code to show images from instagram. | ||
|
||
## Article Metadata | ||
|
||
To enable the plugin, just set a `yaml preamble` entry for instagram like: | ||
|
||
```yaml | ||
instagram: <picture ID> | ||
``` | ||
For reference, the `picture ID` is taken from Instagram picture URL, for example: | ||
|
||
`https://www.instagram.com/p/OzF8OwS43q/` will mean adding to the headers: | ||
|
||
```yaml | ||
instagram: OzF8OwS43q | ||
``` | ||
|
||
To get it shown on the article. | ||
|
||
No other plugin settings must be configured or modified at this time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters