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

Uploaded Source

Built Distribution

combine-1.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for combine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 185bed44655e13d5f7ab2053c99fc841c0002d60152ec6f811686a18ef754750
MD5 c30b7b540bfb7a06058354f47169e92e
BLAKE2b-256 6ef3ca9f5b1074bba52b7968c66752cfcf0cbde5d9744423f59c3a0ee1f3726a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for combine-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47316240c1856c2f179a29e1b5039153257ff8a5c9959bd1403e5e9653a3e7da
MD5 6851688e284c9c07ad164240d0d77fb9
BLAKE2b-256 1250e0efde20fe442d6c03dd9b6351638df7a8b85dc1e64e2bdb6264b7da2f8b

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