Metadata-Version: 2.1
Name: miyadaiku.themes.bootstrap4
Version: 0.10
Summary: Bootstrap 4 files for miyadaiku static site generator
Home-page: https://github.com/miyadaiku/miyadaiku-themes-bootstrap4
Author: Atsuo Ishimoto
Author-email: UNKNOWN
License: MIT
Project-URL: Miyadaiku, https://miyadaiku.github.io/
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: miyadaiku
Requires-Dist: miyadaiku.themes.jquery
Requires-Dist: miyadaiku.themes.popper-js


Bootstrap 4 files for miyadaiku static site generator
========================================================

Provides `Bootstrap4 <https://getbootstrap.com/>`__ 4.2.1 CSS and Javascript files.


Installation
-------------------

Use pip command to install Bootstrap 4. 

::

   $ pip3 install miyadaiku.themes.bootstrap4


`miyadaiku.themes.jquery` and `miyadaiku.themes.popper_js` 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 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



