1---2name: mikeckennedy-jinja-partials-jinja-partials3description: Jinja Partials4---56# Jinja Partials78Simple reuse of partial HTML page templates in the Jinja template language for Python web frameworks.910## Installation1112```bash13pip install jinja-partials14```1516## API overview1718### Framework registration1920Register render_partial with your web framework once at app startup.2122- `register_extensions`: Register jinja_partials with a Flask application23- `register_fastapi_extensions`: Register jinja_partials with a FastAPI application24- `register_starlette_extensions`: Register jinja_partials with Starlette templates25- `register_quart_extensions`: Register jinja_partials with a Quart application26- `register_environment`: Register jinja_partials with a plain Jinja2 environment2728### Rendering2930Render partial templates directly or build framework-specific renderers.3132- `render_partial`: Render a partial template and return the resulting HTML fragment33- `generate_render_partial`: Create a render_partial function bound to a specific renderer3435### Jinja2 extension3637Declarative registration via the Jinja2 extension mechanism.3839- `PartialsJinjaExtension`: Jinja2 extension that automatically registers render_partial functionality4041### Exceptions4243Errors raised by jinja_partials.4445- `PartialsException`: Raised when jinja_partials is misconfigured or a required web framework is not installed4647## Resources4849- [Full documentation](https://mkennedy.codes/docs/jinja-partials/)50- [llms.txt](llms.txt) — Indexed API reference for LLMs51- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs52- [Source code](https://github.com/mikeckennedy/jinja_partials)5354---55> Source: [mikeckennedy/jinja_partials](https://github.com/mikeckennedy/jinja_partials) — distributed by [TomeVault](https://tomevault.io).56<!-- tomevault:4.0:skill_md:2026-07-01 -->
Run npx skillmds@latest add tomevault-io/mikeckennedy-jinja-partials-jinja-partials in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Jinja Partials It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.