skip to navigation
skip to content

miyadaiku.themes.bootstrap4 0.0.7

Bootstrap 4 files for miyadaiku static site generator

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) }}
 
File Type Py Version Uploaded on Size
miyadaiku.themes.bootstrap4-0.0.7-py3-none-any.whl (md5) Python Wheel py3 2017-08-15 74KB