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

Uploaded Source

Built Distribution

combine-2.2.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.2.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.8.0-1042-azure

File hashes

Hashes for combine-2.2.1.tar.gz
Algorithm Hash digest
SHA256 a047b820e7d8ef6ce354462207672cde9758d385729c808d652250b83a0932c8
MD5 3489e7591894a69d69f6aed15b59a645
BLAKE2b-256 d1117dad7ff4ca8370be3dbf67ea5b501813ddfc88087a46a27ef432e265a76f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.8.0-1042-azure

File hashes

Hashes for combine-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 424a2d1869d6374eb63d522f5f2df55ffc5cf7a75abc2643ffcb915d4369ebf8
MD5 b8e204348646bdd1b4a7449e1b2e03a4
BLAKE2b-256 ed5e9de0419df6eb43594b770fa37a0222a214082d5c83457f22abb7abce3542

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