pelican-social 0.2.0
pip install pelican-social
Latest version
Released:
Social directives for Pelican Blog Generator
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Library or Lesser General Public License (LGPL) (LGPL)
- Author: Axel Haustant
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Changelog
0.2.0 (2017-02-02)
Support for Pelican 3.7+ and Python 3.3+
Drop support for Python 3.2
0.1.1 (2013-07-02)
Handle dot and dashes in Github usernames and repository names
0.1 (2013-06-20)
- Initial implementation allowing to link to:
Facebook profiles
Twitter profiles
Google+ profiles
Github profiles, repositories and issues
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Library or Lesser General Public License (LGPL) (LGPL)
- Author: Axel Haustant
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pelican_social-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pelican_social-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd65a79200f0a1dea2303dde691794715bab1e1af7515b778640fc0e5d520aaa |
|
MD5 | 6c9b414bcc087a219bb7276d99d06efd |
|
BLAKE2b-256 | 4f1cb43f3d131c104e92fca29fe80075f5049376c6c0793248930c2b3efba74c |
Social plugin for Pelican
Social directives for Pelican static blog generator.
Easy linking to social networks content through simple inline directives.
Compatibility
pelican-social is compatible with Pelican 3.3+ and Python 2.7.
Installation
Install the plugin via pip:
Usage
To load the plugin, you have to add it in your settings file.
Once loaded you have access to social rst directives.
Each directive can be called in two forms:
As much as possible, the directive give a secure (https) link.
Twitter
You can use both :twitter: and :tw: directives to link to a Twitter profile, they are equivalent. Using an @ in username will only change the displayed username if a custom display is not specified.
Exemple:
will result in:
Google+
Google+ is tricky with usernames. If you are famous and lucky you can have a custom username in +MyUser form. If not you will have a 21 digits identifier.
Exemple:
will result in:
Github
You can use both :github: and :gh: directive to link to github profiles, repositories and issues/pull-requests (github will autmatically redirect you to the pull-request if one is associated with the issue).
The following form are accepted:
Target
Expected target form
profile
username
repository
username/repository
issue/pull-request
username/repository#issue
Exemple:
will result in:
Facebook
You can use both :facebook: and :fb: directives to link to a Facebook profile, they are equivalent.
Exemple:
will result in: