Skip to main content

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


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.2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

combine-2.9.2-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file combine-2.9.2.tar.gz.

File metadata

  • Download URL: combine-2.9.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for combine-2.9.2.tar.gz
Algorithm Hash digest
SHA256 acc0e39a8fb15de04c447dc89969d37e0cc62a23e7421ab9478129bcc37aba63
MD5 e6b71b1487610a66468707e377f84b95
BLAKE2b-256 46f3265a0974a5a718f197737c31b93ab7ebb3d08184adf4a701038925b5ed78

See more details on using hashes here.

File details

Details for the file combine-2.9.2-py3-none-any.whl.

File metadata

  • Download URL: combine-2.9.2-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for combine-2.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d716994b77cf737eb030863220cf7a532300257001122cc1b83fca812dc24c0
MD5 10a642997b6c5091af98046b957a9b3d
BLAKE2b-256 8324fe7ef9da37ffbd543c46b118ee05cb50af75069e7c37ded9f0145a06c659

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page