https://github.com/acoshift/gotpie
Compile your go template to html
https://github.com/acoshift/gotpie
Last synced: about 2 months ago
JSON representation
Compile your go template to html
- Host: GitHub
- URL: https://github.com/acoshift/gotpie
- Owner: acoshift
- Created: 2016-06-25T10:18:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T04:13:01.000Z (over 5 years ago)
- Last Synced: 2025-02-01T02:20:23.662Z (4 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gotpie
## Go Template Compiler
### Install
`go install github.com/acoshift/gotpie`
### Usage
`gotpie compile --watch --out build src`
gotpie will compile all of .entry.tmpl files in src folder into build folder
### Example
Project structure
- src
- footer.tmpl
- layout.tmpl
- menu.tmpl
- index.entry.tmpl
- about.entry.tmpl`gotpie compile --layout layout --out build src`
Result
- build
- index.html
- about.html