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.4.0.tar.gz
(17.4 kB
view details)
Built Distribution
combine-2.4.0-py3-none-any.whl
(27.0 kB
view details)
File details
Details for the file combine-2.4.0.tar.gz
.
File metadata
- Download URL: combine-2.4.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d5caf8a5975f023af4d56ad69c27a7059ee0f4412b2e6014de57740f7aaeca |
|
MD5 | 6ecbd3d1c438b75c5382db348bc7422a |
|
BLAKE2b-256 | 94dc275a95de9a0ac7e1ef933f642979f7c753bfbeedec45e0a339f013b3c61d |
File details
Details for the file combine-2.4.0-py3-none-any.whl
.
File metadata
- Download URL: combine-2.4.0-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5834e8d2cf6327620ce394c5f197c15ac61ff7b2088226bc6a0bbf4141efc2e |
|
MD5 | 7ae8d9441877ef894b43976dc7b2016e |
|
BLAKE2b-256 | 0a43a62c80d8e89e965d84fb59a5835db00fc3204797345a62320cd7fadd5f4a |