Bootstrap 4 files for miyadaiku static site generator
Project description
Provides Bootstrap4 CSS and Javascript files.
Installation
Use pip command to install Bootstrap 4.
$ pip install miyadaiku.themes.bootstrap4
miyadaiku.themes.jquery and miyadaiku.themes.tether 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 tether.js --> {{ tether.load_js(page) }} <!-- include boolstrap4 js --> {{ bootstrap4.load_js(page) }}
Example
https://github.com/miyadaiku/miyadaiku-docs/tree/master/samples/bootstrap4
Project details
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.themes.bootstrap4-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 682793c6b55709a350bdeaa2201f586ad6d01fea1475a8ec1a8941640a4cd76c |
|
MD5 | 7992782db1e92fe94eee84024821030d |
|
BLAKE2b-256 | 7ddc5f0871304672118c5eac153b0bdfadfcdebf38fe3efd5b22a4971e66c9c7 |
Close
Hashes for miyadaiku.themes.bootstrap4-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ac4dfdb744e01820b7413ff6447b2d7857359fc2c2955b9ca727443279cef7 |
|
MD5 | 8f7e1438db5d812f72106b80d0d1a7ba |
|
BLAKE2b-256 | 8b1ed65f5a4d70ed30b2fc6db474b8b78b610a2e876aa845d2c816ebeb29ae93 |