Skip to main content

A 'makesite' script that can handle {% if %} and {% for %} blocks as well as {{ name }} expressions.

Project description

makesite-liquidish

Based on the great work of Sunaina Pai: https://github.com/sunainapai/makesite

Usage:

$ makesite                                                                               
Config file not found. Do you want to create an example site ? [Y/n]

copied example site to 'example_site'.
Now you can 'cd' into it and run 'makesite' again.

$ cd example_site
$ makesite
Rendering index.html => site/index.html ...
Rendering contact.html => site/contact.html ...
Rendering galleries.html => site/galleries.html ...

$ open site/index.html 

Release process:

  1. get a pypi token:

     $ cat ~/.pypirc
     [pypi]
     username = __token__
     password = pypi-...
    
  2. $ setopt nonomatch (on zsh)

  3. $ rm -rf dist build *.egg-info */__pycache__ */example_site/_site

  4. $ git clean -ndx

  5. $ python -m build

  6. $ twine upload dist/*

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

makesite-liquidish-1.0.4.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

makesite_liquidish-1.0.4-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file makesite-liquidish-1.0.4.tar.gz.

File metadata

  • Download URL: makesite-liquidish-1.0.4.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for makesite-liquidish-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a6e2d1b1694f21f5a93e92b26bd5c362dfde14ff45c70da844262aa570aa9691
MD5 1e25ed3dfbb95f68da51769bdd19fa58
BLAKE2b-256 47d554361a2b799e407c8c13c816b83ca717add6ad1339d4b5780cd20b1da14b

See more details on using hashes here.

File details

Details for the file makesite_liquidish-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for makesite_liquidish-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0083c60ad723ba579a9b9f43b409e2eee7808cda276c1eaf236929d8dace742a
MD5 05216caf63c90f4540877c8c1b305a74
BLAKE2b-256 e2c59171241f336e4f04a83747522409c23e7a3266546492f41f8a9ca1987d35

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