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.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a243ae2ffe6d712e438f928e38daa5faa8d54651f9f571f98bece78eaa94a07d |
|
MD5 | 8da5350e53ab398c2e1b6c9fc5025c76 |
|
BLAKE2b-256 | b1d27a944d599bc1b2cae0c3ef120cc7a13eb826b8c1d9c48f32dfea042d10ad |
Close
Hashes for miyadaiku_theme_bootstrap4-1.0.0.post2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b282a65f1234f627eda08a8e9aa0cdf81e261710e785e883363bbf40a95e799 |
|
MD5 | ac6d80d07da6f705529b526a87014bec |
|
BLAKE2b-256 | c09b35ef46f987d6989067798e933a3e61e724c8ecc190a2a057ecaa31d430d4 |