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

Uploaded Source

Built Distribution

combine-2.1.3-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.1.3.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.6 Darwin/20.5.0

File hashes

Hashes for combine-2.1.3.tar.gz
Algorithm Hash digest
SHA256 8f50c0816a5f37e7c2ccab00932b492744f4fc2f62f8ce90f0e9c146816e63ba
MD5 8e30e26c05dcf55e3ed5a170931ac6db
BLAKE2b-256 c965e6f1620ddd908c512ae5c6acaadef0fe552c39fc00945f3e74f182a2b5ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.6 Darwin/20.5.0

File hashes

Hashes for combine-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 791e516c5890a841e647f6cda0cd4e56af6a8e50e014de65d862420f8dd3cc35
MD5 7b6fe53bba069103b46e3eda0e623f83
BLAKE2b-256 b543ee88a632c9ab51183f42aeb64d167bc5a553fd9a1e2591dfb5134168646d

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