Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Add template functionality#16

Merged
FooSoft merged 1 commit intoFooSoft:masterfrom
breml:template
Jun 30, 2017
Merged

Add template functionality#16
FooSoft merged 1 commit intoFooSoft:masterfrom
breml:template

Conversation

@breml
Copy link
Contributor

@breml breml commented Jun 30, 2017

I added the functionality to support go templates in homemaker. The configuration works the same way as for the links. Within the templates all environment variables are available.

Currently there is quite some code duplication between links and templates. So if you like the functionality, I suggest to refactor the code.

@FooSoft FooSoft merged commit 92b243a into FooSoft:master Jun 30, 2017
@FooSoft
Copy link
Owner

FooSoft commented Jun 30, 2017

Excellent work, thank you for the contribution.

@breml breml deleted the template branch June 30, 2017 17:40
]
```

In the template file, the [go templating systax](https://godoc.org/text/template) is used for the customization of the

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax*

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants