-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from gwynforthewyn/templ-new
Templ refactor
- Loading branch information
Showing
32 changed files
with
1,289 additions
and
1,180 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "testing-files"] | ||
path = testing-files | ||
url = https://github.com/PlayTechnique/templ-testing-files.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
Templates dir - either TEMPL_DIR or the default $HOME/.config/templ/ | ||
#Templ | ||
A tool to render templates, and download and update repositories of templates. | ||
|
||
![logo](.github/images/templ-logo-smaller.png) | ||
|
||
# Environment variables | ||
TEMPL_DIR - Defaults to ~/.config/templ. Directory that stores template git repositories. You run lists against this dir. | ||
|
||
# Uses | ||
`templ -fetch https://github.com/PlayTechniuque/templ-templates.git` - download a github repository to your templates directory | ||
|
||
`templ -list` - list all available templates | ||
|
||
`templ templatename` - display the contents of a template file to stdout. | ||
|
||
`templ templatename=variablesfile.yaml` - hydrate a template file using variablesfile.yaml. | ||
|
||
```variablesfile.yaml | ||
--- | ||
Variable: value | ||
OtherVariable: othervalue | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.