Provides Bootstrap4 4.4.1 CSS and Javascript files.
Installation
Use pip command to install Bootstrap 4.
$ pip3 install miyadaiku_theme_bootstrap4
Configuraion
In your config.yml file of your project, add following configuration at themes section.
themes: - miyadaiku_theme_bootstrap4 # <---- add this line
Usage
Add following code to your template files.
<!-- include boolstrap4 -->
{{ bootstrap4.load_css(page) }}
<!-- include jquery.js -->
{{ jquery.load_js(page) }}
<!-- include popper.js -->
{{ popper_js.load_js(page) }}
<!-- include boolstrap4 js -->
{{ bootstrap4.load_js(page) }}
Example
https://github.com/miyadaiku/miyadaiku-docs/tree/master/samples/bootstrap4
Release files for miyadaiku-theme-bootstrap4 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl
| Download URL | miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl |
|---|---|
| Size | 168.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec6683c34bd94771cd5f5a205cb2366ea3ea7f076f00a0e2b4f08da95daf613b
|
|
BLAKE2b-256 checksum How to use checksums |
9f5fbe798593df60365945bcc55357bb8d8a53a66adaf8c4abc1f94c9dd7264d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|