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.
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. |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pelican_advance_embed_tweet-1.1.2.tar.gz.
File metadata
- Download URL: pelican_advance_embed_tweet-1.1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba2ed3d19a1a4e890c9cdfbb0c1649abd062c66e8c5c4a74044bcae1a4ad8ac0
|
|
| MD5 |
7a217f6bd07ce751cbb736e0c118b534
|
|
| BLAKE2b-256 |
1df3c16dd485315512cc38a7772fdf15e983f1e6ebebfb9e491314caa2695575
|
File details
Details for the file pelican_advance_embed_tweet-1.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: pelican_advance_embed_tweet-1.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fed81fcf46442a87a5c466f9cfd5ae4331d4bf1ae1e44806bf7088742dde0bb
|
|
| MD5 |
88616dfaa46e45a0344446c38ce99ea9
|
|
| BLAKE2b-256 |
59430e26679400ef8215fa2c7675c17ca172db4b2962d219d3bd833eba813c8a
|