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.9.0.tar.gz
(18.4 kB
view details)
Built Distribution
combine-2.9.0-py3-none-any.whl
(28.2 kB
view details)
File details
Details for the file combine-2.9.0.tar.gz
.
File metadata
- Download URL: combine-2.9.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 443509674537c9b225f23a2767c293bdb9ae72a351cc016a8c1f0909131820ae |
|
MD5 | 291bc8996997e6212c54f725f9bcb9cc |
|
BLAKE2b-256 | 57375722d5c42d7c2e0ee41949a87ead3d86c5e62273ba3afd0940621119ae85 |
File details
Details for the file combine-2.9.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.9.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b687b2e5cec391104f03e701021b1302c26a9727ae9393aaabc6d02bb846030b |
|
MD5 | de47e0ab2ffd545d988f3e71c5e852db |
|
BLAKE2b-256 | 09729c9513d0f3b93bacbf2cfb6b816bae9f3736df2f74283596d9c27d3efd61 |