Majibo uses Jinja as a templating engine.
Default template is template.html
but you can specify particular template for page by Template
meta tag.
site.name
- site (project) namesite.url
- site URLsite.email
- site contact e-mailsite.author.name
- site author namesite.author.url
- site author URLsite.author.email
- site author contact e-mailsite.navigation
- navigation objectsite.description
- site descriptionsite.generator.name
- Majibo namesite.generator.url
- Majibo URLsite.generator.version
- Majibo versionsite.build_id
- ID (timestamp) of buildpage.url
- page URLpage.id
- page id (info.md
= info
)page.is_index
- true/false if page is index.mdpage.type
- open graph page typepage.language
- page languagepage.title
- page titlepage.description
- page descriptionpage.image
- page imagepage.author
- page authorpage.content
- page content (HTML)page.meta
- original markdown metadatalink_base
- link base folder (./
)assets.base
- assets base folder (./assets/
)assets.stylesheet
- site CSS fileassets.bootstrap.js
- Bootstrap JSassets.bootstrap.lightbox.js
- BS5-lightbox JSMajibo uses Bootstrap CSS framework. Main Sass file is /assets/style.scss
. This file includes Bootstrap files. You have to use Sass compiler to compile it to CSS file.
I am using Live Sass Compiler extension for VS Code.
You can build project in development mode with this command: python build.py -p project_name -d
/dist/
folder is not removed and re-builded (files are just updated) so you can use Live Server extension for VS Code/asset/
folder do you can use Live Sass Compiler for live preview of CSS changes