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.17.0.tar.gz
(19.0 kB
view details)
Built Distribution
combine-2.17.0-py3-none-any.whl
(30.4 kB
view details)
File details
Details for the file combine-2.17.0.tar.gz
.
File metadata
- Download URL: combine-2.17.0.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7903ca668d7a6c3c64d4f036095dc21fbf4e5f083d1c329a81aad46108ac32fd |
|
MD5 | 0867f8eb7dfa24fe8e17c58f0b88dfed |
|
BLAKE2b-256 | 46840a78aa9cd07bf89886fac8c3e7344b11c670048043d359e638136bab668f |
File details
Details for the file combine-2.17.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.17.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ee34b94edca44e4c8d115ac6cfb29e33331a5fb05b8fd0211f098e6c0e95f0 |
|
MD5 | 421bc980f567a4a15f2fc711ffa20882 |
|
BLAKE2b-256 | 0ec53b36a992359ae1ba67a71da247ee732466b4c8b17b28b97e4b2861ec8e73 |