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.1.tar.gz
(17.0 kB
view details)
Built Distribution
combine-2.1.1-py3-none-any.whl
(25.9 kB
view details)
File details
Details for the file combine-2.1.1.tar.gz
.
File metadata
- Download URL: combine-2.1.1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5187b7e5818224b8e22ba2195603710d0391a8f6a3734131df5b8dad030675ba |
|
MD5 | dba63e6cf92cbc714fdafe823d5f2a92 |
|
BLAKE2b-256 | dc0c25acad48136e198b260d323396908725f1e7cf5b6aa52ba9c80553cb97ec |
File details
Details for the file combine-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.1.1-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad4ed3ecbcf66eecd5f0d577fdf9f39025c63f181e257de7fcd427960c9736e |
|
MD5 | bed4d7ec4833347393376d5ad6f1605f |
|
BLAKE2b-256 | 191eb85aadd959db76dd4e0dd05841adae329cc9d9fb025143518ab2cb73e4e0 |