Provides Bootstrap4 4.2.1 CSS and Javascript files.
Installation
Use pip command to install Bootstrap 4.
$ pip3 install miyadaiku.themes.bootstrap4
miyadaiku.themes.jquery and miyadaiku.themes.popper_js are also installed automatically.
Configuraion
In your config.yml file of your project, add following configuration at themes section.
themes: - miyadaiku.themes.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
Metadata
Release files for miyadaiku.themes.bootstrap4 0.10
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.themes.bootstrap4-0.10-py3-none-any.whl | Python 3 | none | any | Details |
Release files / miyadaiku.themes.bootstrap4-0.10-py3-none-any.whl
| Download URL | miyadaiku.themes.bootstrap4-0.10-py3-none-any.whl |
|---|---|
| Size | 158.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e64af4939224bc339319d0bbe2e8fcac1c0a762a7466b1481d0d334db9ab961d
|
|
BLAKE2b-256 checksum How to use checksums |
1f55bbd9f03c5d3de0daffa4cb0da49523bc002f504524972bf0215d08cebed3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2
|