Skip to content

Q-back/HTMLpuzzle

Repository files navigation

HTMLpuzzle

HTMLpuzzle is simple framework which can boost e.g. creating static websites with large number of sub-pages.

Usage is simple.

  • create basic file -> in basic file you can create tags like that: {%tag%}. There is no difference if it is in newline or inline
  • create some template files, which will define how to fill your tags in base file. Those template files have to be in same dir as basic file
  • run python3 main.py path/to/basic_file.html. It will autamatically add tags to template files
  • now you should see tags in your template files. Fill them with content you want to have there and:
  • run python3 main.py path/to/basic_file.html
  • you can find rendered files in path/to/rendered/. Rendered files have same names as template files.

About

A way to render static html from chunks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published