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.13.0.tar.gz
(19.6 kB
view details)
Built Distribution
combine-2.13.0-py3-none-any.whl
(30.2 kB
view details)
File details
Details for the file combine-2.13.0.tar.gz
.
File metadata
- Download URL: combine-2.13.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a07aa7bf516567ae972fa9c7ffde02aaa147a01a72b03bfdf171cd252b52aa |
|
MD5 | 094d69419044422b18950dacd86d11d4 |
|
BLAKE2b-256 | 1671317e69130202ac9586db4b8bfe76059fdd62ea0a1d7a086b7601f2721e11 |
File details
Details for the file combine-2.13.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.13.0-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d664cc1633ba24ab078c4d1bc663e9a4740e5dc74ac6b6a662509d7601e7c38f |
|
MD5 | 7d2fc9e8940d8cfb106f8f7fa934fab9 |
|
BLAKE2b-256 | b7d8defeb7f8da5c350dd3430dfd23a2ceeb45cfdaab02cba79f201d6a6b0a2a |