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.14.0.tar.gz
(18.7 kB
view details)
Built Distribution
combine-2.14.0-py3-none-any.whl
(29.9 kB
view details)
File details
Details for the file combine-2.14.0.tar.gz
.
File metadata
- Download URL: combine-2.14.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1036-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f92703a5e58283688eafed56a0df46b48797aa864f8c5c5d13d75e01f02397 |
|
MD5 | 6bfce334f8abd7b3dcd0ad1d650fe6c2 |
|
BLAKE2b-256 | 5f4337269e525b79ae2b1fdb298bfcbafdfed18f0396562deb1d0fd6642c98e0 |
File details
Details for the file combine-2.14.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.14.0-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1036-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c523230952ba2a5d8c27a29a27591e2d4a5fc748a835b3bb7c3641de34b81175 |
|
MD5 | 7a4f7f76fe0467752159cc0f1341ad44 |
|
BLAKE2b-256 | db99e04d66b72330f4de49a6a54cef9f8375f540f7dc31456edf7d4ef912a812 |