Embedding tweets into your Pelican blog posts. This repo is an advance version of the plugin from lqez which hasn’t the config for the style.
Author |
Fundor333 |
|---|---|
Homepage |
|
Github |
|
# How to use it
Install the plugin with pip install pelican_advance_embed_tweet
Put pelican_advance_embed_tweet into plugin list of settings.
PLUGINS = ['pelican_advance_embed_tweet']
Add your config into the pelicanconf.py
Config
The config implement the Twitter Api.
Config Label |
Description |
|---|---|
TWITTER_CARDS |
When set to hidden, links in a Tweet are not expanded to photo, video, or link previews. |
TWITTER_THEME |
When set to none, only the cited Tweet will be displayed even if it is in reply to another Tweet. |
TWITTER_CONVERS ATION |
When set to dark, displays Tweet with light text over a dark background. |
TWITTER_LINK_C OLOR |
Adjust the color of Tweet links with a hexadecimal color value. |
TWITTER_WIDTH |
The maximum width of the rendered Tweet in whole pixels. This value should be between 250 and 550 pixels. |
TWITTER_ALIGN |
Float the Tweet left, right, or center relative to its container. Typically set to allow text or other content to wrap around the Tweet. |
TWITTER_LANG |
A supported Twitter language code. Loads text components in the specified language. Note: does not affect the text of the cited Tweet. |
TWITTER_DNT |
When set to true, the Tweet and its embedded page on your site are not used for purposes that include personalized suggestions and personalized ads. |
Release files for pelican-advance-embed-tweet 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pelican_advance_embed_tweet-1.1.3.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pelican_advance_embed_tweet-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / pelican_advance_embed_tweet-1.1.3.tar.gz
| Download URL | pelican_advance_embed_tweet-1.1.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c001f978c8cea376580ac2d1a062978d2e5d130ce30a9cccc489748a0fa6a521
|
|
BLAKE2b-256 checksum How to use checksums |
84857b5c5874c4f975d5d05e049dbec8192efe6b7ee35ed94d84d62a57aa84b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pelican_advance_embed_tweet-1.1.3-py2.py3-none-any.whl
| Download URL | pelican_advance_embed_tweet-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f19230f2609c3b5bf3838fbed19d189729fa83d779682511d9a8b409bfdbbd30
|
|
BLAKE2b-256 checksum How to use checksums |
96f7a2daf9ce8e515ab056ab120b94e7403eb60c9535edd7111ffd6abe08fd2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |