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.0.1.tar.gz
(14.2 kB
view details)
Built Distribution
combine-2.0.1-py3-none-any.whl
(21.6 kB
view details)
File details
Details for the file combine-2.0.1.tar.gz
.
File metadata
- Download URL: combine-2.0.1.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947d36521be18a4444086a7e4342fd66b1f57b572179123f341c9017a11166b8 |
|
MD5 | c3f9282065833ca4a8ba136901d87b91 |
|
BLAKE2b-256 | a34d7bd14bfb386405c1827efc3fcf2a07f852b8f2aa3b4b78e2aaccb002e56f |
File details
Details for the file combine-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.0.1-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f3deb0eb31f2e8f49797a8413fbbdbee4f5bd1cf6381333dad03ace00e0475 |
|
MD5 | b8e33589ad348d9f3d12d10b57308ae2 |
|
BLAKE2b-256 | 0d6b245bb78b5d273dadfa04d3ddeb6fb9603fe6210ed878516dd0dba7948d07 |