Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom variables for custom templates #86

Closed
vdjagilev opened this issue Apr 25, 2022 · 0 comments · Fixed by #98
Closed

Custom variables for custom templates #86

vdjagilev opened this issue Apr 25, 2022 · 0 comments · Fixed by #98
Assignees
Labels
priority/medium Medium priority issue tech/go Golang tech/html HTML (or markup + templates) is involved type/feature New feature (or request)
Milestone

Comments

@vdjagilev
Copy link
Owner

Add a possibility to pass custom variables for custom templates.

Example:

--x-opt "foo=${bar}"

Then this value can be used in a custom template like this:

Some custom variables:

<ul>
  <li><b>Foo value:</b> {{.custom.foo}}</li>
</ul>

This could be used in automated environments (pipelines?) to pass some values to the custom templates.

Can be implemented only after #23

@vdjagilev vdjagilev added priority/medium Medium priority issue tech/go Golang type/feature New feature (or request) tech/html HTML (or markup + templates) is involved labels Apr 25, 2022
@vdjagilev vdjagilev added this to the 1.0.0 milestone Apr 25, 2022
@vdjagilev vdjagilev added this to v3 Apr 25, 2022
@vdjagilev vdjagilev self-assigned this Apr 29, 2022
@vdjagilev vdjagilev moved this to Todo in v3 Apr 29, 2022
@vdjagilev vdjagilev moved this from Todo to In Progress in v3 Apr 29, 2022
vdjagilev added a commit that referenced this issue Apr 29, 2022
@vdjagilev vdjagilev moved this from In Progress to Review in v3 Apr 29, 2022
vdjagilev added a commit that referenced this issue Apr 29, 2022
@vdjagilev vdjagilev moved this from Review to Done in v3 Apr 29, 2022
@vdjagilev vdjagilev linked a pull request Apr 29, 2022 that will close this issue
vdjagilev added a commit that referenced this issue May 2, 2022
@vdjagilev vdjagilev moved this from Done to Released in v3 May 2, 2022
Repository owner moved this from Released to Done in v3 May 2, 2022
@vdjagilev vdjagilev moved this from Done to Released in v3 May 2, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
priority/medium Medium priority issue tech/go Golang tech/html HTML (or markup + templates) is involved type/feature New feature (or request)
Projects
Status: Released / Merged
Development

Successfully merging a pull request may close this issue.

1 participant