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

Uploaded Source

Built Distribution

combine-2.15.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.15.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure

File hashes

Hashes for combine-2.15.0.tar.gz
Algorithm Hash digest
SHA256 ce00071b3eadd59532c1066a447068afc77bf290404aab687222c105642d573a
MD5 8bdfc8d21f0f7b3e14d2d2357b879818
BLAKE2b-256 714bcbddeb0f0496395ddc8442f18b0263e8f9a33d014b56693ee860c57acb45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.15.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure

File hashes

Hashes for combine-2.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5342e2785f56d11923ec3b18ae03fe92a2027579cd096ff60f21b38edfec4d19
MD5 976fb9950117dde898f852eef6351619
BLAKE2b-256 c17549a63ed45ec775ab49aa6ffe4f72b5d0f2078e9df50794f05967b3dcc15d

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