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

Uploaded Source

Built Distribution

combine-2.1.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.1.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0

File hashes

Hashes for combine-2.1.0.tar.gz
Algorithm Hash digest
SHA256 20cd7e6015ae0a742504e822302705024d970f01f101abc6494bdac49adc6234
MD5 6eed4e9e1dd3232a6216f46de65fef8d
BLAKE2b-256 ed5957b9f3bbf1568b89c172eef8c7f59abc272d1e061ac3f8735da48bfbd717

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.9.1 Darwin/20.2.0

File hashes

Hashes for combine-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c6e05e8f02e62fd685a1607385bb61ae5ec10bfb0e20676583fd3d956975586
MD5 e540bc3feccfbc95d0bf7c36b32c4f1e
BLAKE2b-256 aa256c970be9e19dd81c869d93d24690c861cb869d16477cb3dbddbad1b30541

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