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.5.tar.gz
(17.0 kB
view details)
Built Distribution
combine-2.1.5-py3-none-any.whl
(26.2 kB
view details)
File details
Details for the file combine-2.1.5.tar.gz
.
File metadata
- Download URL: combine-2.1.5.tar.gz
- Upload date:
- Size: 17.0 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 | 251a9539a5215c890a49915294eb27937e7b5419e45b1155530b85015c1fd6d1 |
|
MD5 | cd41e4032ffd007f2b73e454e7c47d70 |
|
BLAKE2b-256 | bd146b6654f1bbc96d3426ca6c52d3cc9204eaca0d5274db9d70eb928792116f |
File details
Details for the file combine-2.1.5-py3-none-any.whl
.
File metadata
- Download URL: combine-2.1.5-py3-none-any.whl
- Upload date:
- Size: 26.2 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 | 6f2d7411d5e623ba994f20b89836df82d2103b3aab819a810070ce504ea3329b |
|
MD5 | 5f3b80c13734cf8936d61db76ec0ac4a |
|
BLAKE2b-256 | f1240c9ded13d082e56031287e77c524f50db2ead59ddb34f3c42718a62c28b5 |