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.9.1.tar.gz
(18.4 kB
view details)
Built Distribution
combine-2.9.1-py3-none-any.whl
(28.2 kB
view details)
File details
Details for the file combine-2.9.1.tar.gz
.
File metadata
- Download URL: combine-2.9.1.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd97aff692ba44b3895b28dfb4894b76511bfc31e0827dc3fd6064c6551c100 |
|
MD5 | 2c698228c7180255f9f87071c2f500e8 |
|
BLAKE2b-256 | 4d2666376fc353f209292138ac9501aa6a5847a91c0a57c834a4790a9fcd81ab |
File details
Details for the file combine-2.9.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.9.1-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68a72bdbe9e2a0d4028bc1ebfc4f5fe593a9ba64f5ca1c2f4e30cadb98034268 |
|
MD5 | 2f65e10ae93efc5ce071e3251c0cab3f |
|
BLAKE2b-256 | 64532d46c80e7108480ada8489f6d87de9081d6961497f0138b2d14ec32a9df9 |