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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

combine-2.14.1-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combine-2.14.1.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for combine-2.14.1.tar.gz
Algorithm Hash digest
SHA256 613fb86c954eb96d3f675eb1af4cc8582a9d09b86df1891d17f56c9119f99ce2
MD5 7eb27cd4f27a0074ab40f2bed81f4660
BLAKE2b-256 a20d094ae500353642e9ec3a9452b16ee7730beb3806c3ed29bd26365874256f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: combine-2.14.1-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for combine-2.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f76a795767dfa025594ed2a5b5b854cbfc71fc3d865a346b4c0c98ef834d1c4d
MD5 3f788de98f190ca77bd6d136b8820a14
BLAKE2b-256 e43841579273f0e52562ea18d1a33ca80430e19c1db1a324e95ed7d7fd05e23c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page