A straightforward static site builder.
Project description
Combine
Build a straightforward marketing or documentation website with the power of Jinja. No fancy JavaScript here — this is just like the good old days.
Put your site into the "content" directory and Combine will:
- Render files using Jinja
- Create pretty URLs ("file-system routing")
- Inject variables
- Run custom build steps (like building Tailwind)
Most sites follow a simple pattern.
Create a base.template.html
:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My site</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>
And use it (ex. pricing.html
):
{% extends "base.template.html" %}
{% block content %}
<div class="pricing">
<div class="flex">
...
</div>
</div>
{% endblock %}
In the end, you get a static HTML site that can be deployed almost anywhere.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
combine-2.13.1.tar.gz
(19.7 kB
view details)
Built Distribution
combine-2.13.1-py3-none-any.whl
(30.2 kB
view details)
File details
Details for the file combine-2.13.1.tar.gz
.
File metadata
- Download URL: combine-2.13.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e47cfa801936099cbfc6db525d820cf626c0db1da5eb4f41f92e0936fa7ab4 |
|
MD5 | 31e2fcfdb087f3fa853f283f85bd2640 |
|
BLAKE2b-256 | a6374a9bf35ecdcea2a9a5039a109c898c45b2ea4f0aebb476ef5db462f0195c |
File details
Details for the file combine-2.13.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.13.1-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd5bc10078b4500ae1bf48857b63d65c6325bdd5d74b7642887d9f94e359b13 |
|
MD5 | 430eb57851187e886b8474ac7aa1cda2 |
|
BLAKE2b-256 | 6df5a5240657f31035c23280c12bb26b3fd3771a8063b3fc872f0d5575a9e505 |