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.2.tar.gz
(17.1 kB
view details)
Built Distribution
combine-2.1.2-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file combine-2.1.2.tar.gz
.
File metadata
- Download URL: combine-2.1.2.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.1 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336e376269241c025fa58bc479b562dd6f5f2e42e1210840aa1538e08ba03926 |
|
MD5 | 32d7e4ad82c45e70d7a4809998a6ee70 |
|
BLAKE2b-256 | da9b191591fd8b35284ead8e03004e9309b4a3c3eb339ecb0cc86c41fd009d39 |
File details
Details for the file combine-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: combine-2.1.2-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.1 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4be0b845205881586a746ab5534ad18884dfc662ee6c84d865bd58e065ea35c |
|
MD5 | 98ef08abb0c998ef275971bb03194a74 |
|
BLAKE2b-256 | 06394952442134005cd89b25f902a210faa87eecdc4455d20fcd9041382302b2 |