Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miyadaiku.themes.bootstrap4-0.0.6-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

Details for the file miyadaiku.themes.bootstrap4-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for miyadaiku.themes.bootstrap4-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6c3351467ba4476af843f161d8d7f6e0e6446f2b05fccbbfb53a44c17b3ae5a6
MD5 7ed3cb4df1822e3c8925c8923d94b819
BLAKE2b-256 25953b958029688249ecdf001e15d57c480b153410e48a73562562ec55abaead

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page