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.11.0.tar.gz
(20.0 kB
view details)
Built Distribution
combine-2.11.0-py3-none-any.whl
(30.4 kB
view details)
File details
Details for the file combine-2.11.0.tar.gz
.
File metadata
- Download URL: combine-2.11.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568fe539cfdbbaf8d89788bf95b1ccc68fa423a76906a221a612d599ece96158 |
|
MD5 | c40c5591a78758cf9fc64deca358950a |
|
BLAKE2b-256 | e3295f9ce4bdcb7c6dd3716e6f1244c772904931be8395ca9f7cf869b70ee0da |
File details
Details for the file combine-2.11.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.11.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351215e7524f2aadd2ff31e5bb05097368e2ecc5c49dbf4082d9681c4d1d055c |
|
MD5 | 12cb99dcb6a5529a0b304d9bbf8fc4de |
|
BLAKE2b-256 | 15fbfcfac4c8894d91fe52941f9106fec8b1b308b670db1c01e694dee3401a61 |