Skip to main content

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

Release files for miyadaiku-theme-bootstrap4 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for miyadaiku-theme-bootstrap4 1.1.0
File Interpreter ABI Platform
miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl Python 3 none any Details

Release files / miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl

Download URL miyadaiku_theme_bootstrap4-1.1.0-py3-none-any.whl
Size 168.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6683c34bd94771cd5f5a205cb2366ea3ea7f076f00a0e2b4f08da95daf613b
BLAKE2b-256 checksum
How to use checksums
9f5fbe798593df60365945bcc55357bb8d8a53a66adaf8c4abc1f94c9dd7264d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page