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.1.6.tar.gz
(17.2 kB
view details)
Built Distribution
combine-2.1.6-py3-none-any.whl
(26.3 kB
view details)
File details
Details for the file combine-2.1.6.tar.gz
.
File metadata
- Download URL: combine-2.1.6.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb27140c38eaec88e993888c00da6c0f776cf73cb6bc57299f63fab3487847f |
|
MD5 | 93b5a3d2972f4cd63459b8dd0c9314f0 |
|
BLAKE2b-256 | ccb70c41b2ec70d807d8b7bdcfc371aa4f6ec30bdedd3129a8bb2c08a40e031f |
File details
Details for the file combine-2.1.6-py3-none-any.whl
.
File metadata
- Download URL: combine-2.1.6-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5094efffefcf0655988078f49bc58ab342ac60574f7ded46c3c96c4aab0a424e |
|
MD5 | 7f86782f6f17872291918d6c48048697 |
|
BLAKE2b-256 | df5991af6fca9d810742f59a7b36ec41c82ecfeb1106c76695c261b263e47be4 |