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

Uploaded Source

Built Distribution

combine-2.12.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.12.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for combine-2.12.0.tar.gz
Algorithm Hash digest
SHA256 90b292a0f629ad33f057bcb7f591ab347cc1f6f82535154a397db8de30186ced
MD5 e5505121141a804b9b43ecc22d3c7fd3
BLAKE2b-256 656624856438fc2692fb168911ad7d2741bd7218f3badabbc6233f9d4862ad24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.12.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for combine-2.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df5601dc78bda17ccc3bc702de438f53b918283a804e908fad6414cbf33b50bb
MD5 b14567e589fd0e9b5b8351dd2a6a0c88
BLAKE2b-256 fc15f8c14152e98653f80c3e71a93654c8d0824ad5a82da661cd1b722264e206

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