No project description provided
Project description
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.
# 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. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pelican_advance_embed_tweet-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575e91833c26e5991bde94a04b18c4dd43f795995d32e7913ba1f93b4ab5c980 |
|
MD5 | f916acb1a723515786a6f092515a2b99 |
|
BLAKE2b-256 | 246459f710558d0d3986ae60aa2c127f5e4a96b53156c6095a1bdc58925afa0a |
Hashes for pelican_advance_embed_tweet-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5bea8a0559f5685dd61a607e878f858e3f001302bcd49327aef36c902dfd9b0 |
|
MD5 | 2e85b6261b52453fee6f8b37a02f3532 |
|
BLAKE2b-256 | 83cb4393fdc890d2c8751291d2934f2b4dd9c73c0368170561c1ea72383c2f18 |