Bootstrap4 files for miyadaiku static site generator
Project description
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
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
Close
Hashes for miyadaiku_theme_bootstrap4-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8701749384bb150944a1c1d8399b440b3a7d8933fb5e750e236b5b93c413591c |
|
MD5 | 780869ba828001a672beb1a11a22608c |
|
BLAKE2b-256 | a8f47e961c4677f20c2e3a6c53900ab5c6f00902f433d82a2e060858a9992b6d |
Close
Hashes for miyadaiku_theme_bootstrap4-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b197506ac917a34b869ea6512c850c9b931f37cf6ffd99e64506536f33cb91c |
|
MD5 | 47906fb2931701a6aaa865b29584b007 |
|
BLAKE2b-256 | 497369aa6fde8b147fba110244754073ab6616aa1b60815adca2d67d784a8ae8 |