Socket
Socket
Sign inDemoInstall

combine

Package Overview
Dependencies
12
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    combine

A straightforward static site builder.


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc