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.3.1.tar.gz
(17.1 kB
view details)
Built Distribution
combine-2.3.1-py3-none-any.whl
(26.6 kB
view details)
File details
Details for the file combine-2.3.1.tar.gz
.
File metadata
- Download URL: combine-2.3.1.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.11.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91599c54c33e9af98e2534f21902d22d357166091eb5cf0c0653f959d9204255 |
|
MD5 | 310f3b331e7b0e2f072e74f0e704291d |
|
BLAKE2b-256 | ffd2b95af126c9bcdd1a2da668944654ebfca8500aee31d84f8533917f22d834 |
File details
Details for the file combine-2.3.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.3.1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.11.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ebc060e027b20519a1129ccaf3ebe34c0778dc3a06a06406be8bb379aead6a |
|
MD5 | 1b88429c0db7187c3c69c3fab1027b16 |
|
BLAKE2b-256 | 7eac141f865099c26722b7bc333b176ed30fe41e66de6d94500b48dd50a114ad |