python-mkblog
This is yet another MkDocs plugin adding basic blogging functionality.
With this plugin you store your blogposts in a separate blog directory.
As you can see it doesn't matter how you store your posts in the blog directory.
Instead of directory structures, this plugin relies on markdown Metadata date.
Use this plugin alongside with the plugin awesome-pages.
awesome-pages will take care of generating the whole nav bar, so you (or this blog plugin) don't have to do it.
Features
- Extra directory for your blog posts
- Utilizing markdown meta
date - No need for date directories and subdirectories and sub sub directories
Installation
- from pypi:
pip install python-mkblog - from github:
pip install git+https://github.com./derJD/python-mkblog.git
Local Build
git clone https://github.com/derJD/python-mkblog.git
cd python-mkblog
pip install .
Usage
There is an complete example directory.
Take a look by cloning this repository and issuing mkdocs serve -f example/mkdocs.yml
Most basic example mkdocs.yml:
---
site_name: basic test page
plugins:
- awesome-pages
- mkblog
This example uses material theme to make the site prettier and it uses discus extra to give people the opportunity to leave a comment:
---
site_name: test page with comments
theme:
name: material
features:
- tabs
palette:
primary: green
accent: yellow
plugins:
- mkblog
- search
- awesome-pages
extra:
disqus: <YOUR DISQUS TOKEN>
You can configure the name of your blog directory:
---
plugins:
- mkblog:
blog_dir: bloggiemcblogger
Documentation
License
- Code released under MIT License
Author
Metadata
Release files for mkblog 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkblog-1.2.0.tar.gz | 105.3 kB | Without provenance | Details for mkblog-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkblog-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for mkblog-1.2.0-py3-none-any.whl |
Total release size: 111.1 kB
Release files / mkblog-1.2.0.tar.gz
| Download URL | mkblog-1.2.0.tar.gz |
|---|---|
| Size | 105.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f2e8c7cd00dafa0b6e7580a9f20bbb3cbb78e9867959e11ae87489068a7b17c
|
|
BLAKE2b-256 checksum How to use checksums |
abb5a47dbc90809d7bcfc024e7803625075c994caa3e84083cd6237fe03911e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / mkblog-1.2.0-py3-none-any.whl
| Download URL | mkblog-1.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06fea508d26342a08a1cfa00c37fb163ac9ef66a338ebcca055797af9b6a117d
|
|
BLAKE2b-256 checksum How to use checksums |
1a2c9d3947708b2b6b2085c17a577e1ac4325e4b56b98a50da33b076ff2fc429
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for mkblog 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.