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.5.1.tar.gz
(17.9 kB
view details)
Built Distribution
combine-2.5.1-py3-none-any.whl
(27.2 kB
view details)
File details
Details for the file combine-2.5.1.tar.gz
.
File metadata
- Download URL: combine-2.5.1.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.8 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98975af0bc6310ddae898216649ce1d3c872b2634d0365486f2d2b2acb16158 |
|
MD5 | 154725a0a8f6a821b38e273d904db69c |
|
BLAKE2b-256 | 13872a0022c6cb0be61f24e0ec643c593714306553aac9cee309972be46c110b |
File details
Details for the file combine-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: combine-2.5.1-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.8 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 098e3e2ba2b60ee154bdaf538d80fca686eb55b8dc2fd8159cc64f679856fead |
|
MD5 | 4daf1484d0603befb08e1c8c16a356c5 |
|
BLAKE2b-256 | c45b89c4e5a5c24716fc5a7d8ba9c6757cef77d01077b6092f828f3b5281bb8d |