{"repo":"jdeanwallace/jinjabread","free":true,"listed":false,"github":"https://github.com/jdeanwallace/jinjabread","clone":"git clone https://github.com/jdeanwallace/jinjabread.git","description":"A Python-based static site generator using Jinja templates.","language":"Python","stars":96,"topics":["jinja2","python","static-site-generator","jinjabread","jinja","markdown"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"Jinjabread A Python-based static site generator using Jinja templates. Inspired by staticjinja , jekyll , and hugo . Install Requires Python 3.11 or newer. Usage Create new site project Build site Preview site locally Features - Write pages in Markdown, HTML, or text. - Use Jinja2 templating language in Markdown, HTML, or text. - Supports YAML metadata in Markdown pages. - Keep static media alongside static pages. - Index pages (i.e., index.html ) can list all other pages in the same directory. - Preview your static site locally with a built-in web server. - Prettify all generated HTML (because why not?) HTML pretty-printing With prettify html enabled (the default), jinjabread re-indents every generated page for readability. It is a rendering-preserving reformatter rather than a byte-preserving one, and it makes a specific contract: - It preserves how the page renders. The output displays identically to the input: inline elements are never broken across lines, significant whitespace is kept, and pre , textarea , script , and style content is emitted verbatim. Only insignificant whitespace between block-level elements changes. - It is idempotent. Prettifying already-pretty output changes nothing. - It ends every file with a single newline. Non-empty output is terminated with exactly one \\n , following the POSIX convention that a text file's last line ends in a newline. Empty input stays empty. - It adds no wrapper of its own. A body-level fragment, such as several top-level el","default_branch":null,"files":null,"tree":[],"storefront":"/r/jdeanwallace","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jdeanwallace/jinjabread/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}