Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 308 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 308 Bytes

How to

  • Clone the repo
  • Add or change a page inside /pages/
  • Run php generate-static.php
  • Redeploy

How it works

  • Loops over *.html files in /pages/
  • Get contents as $content
  • Open template file /template.html
  • Replace {content} in /template.html with $content
  • Save the result as /.html