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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a735d80df37495f36486b9947230174723d0a0f43aa322364c75ea005cd08c33 |
|
MD5 | c526ac65845626e735405d612c1e98f2 |
|
BLAKE2b-256 | 1b6de46bfc7746a6f6b8d940cba5e66546d9c1e94827f9eb4c1318b62cfb7775 |
Close
Hashes for miyadaiku_theme_bootstrap4-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911d7e4104607def68a7e4f6097496694ed2cb665559cf40d8b351c8e074d774 |
|
MD5 | 89a231a7e2bb598432ef2358fc81ec68 |
|
BLAKE2b-256 | d464478323cfdf7c396238bcbd75887d76d63e162c9a9a7d9b117f266b7cf533 |