Skip to content

romainmenke/simple-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Simple Template

A lazy man's templating thingy

go get github.com/romainmenke/simple-template


I needed a tool to render template html files into static files.

  • it recursively parses all files in the source directory and sub-directories as templates.
  • it renders the files in the source directory as pages.
  • it happens to remove html comments. (did not know golang templating did that, but happy about it)

I use it with //go:generate simple-template and modd.


Options

  • -h : help
  • -source : source directory
  • -out : output directory
  • trailing args : exclusion -> simple must not contain logic

Uses golang templating.


Simple

About

Lazy man's templating thingy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages