Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

No whitespace allowed when writing variables in views.yaml #102

Closed
despens opened this issue Apr 5, 2024 · 2 comments
Closed

No whitespace allowed when writing variables in views.yaml #102

despens opened this issue Apr 5, 2024 · 2 comments
Labels
🏅 enhancement New feature or request

Comments

@despens
Copy link

despens commented Apr 5, 2024

In views.yaml it isn't possible to write, for instance

views:
  - output: "{{ id }}.html"
    query: "query.rq"
    template: "template.html"

Variables always need to be directly enclosed by double curly braces like this {{id}}. This is kind of confusing because in the rest of the template substitutions in snowman whitespace is not a problem.

@Abbe98 Abbe98 added this to the Planned milestone Apr 5, 2024
@Abbe98
Copy link
Collaborator

Abbe98 commented Apr 5, 2024

Yeah agreed, it's also has the added benefit of readability.

@Abbe98 Abbe98 added the 🏅 enhancement New feature or request label Apr 5, 2024
@Abbe98
Copy link
Collaborator

Abbe98 commented Apr 5, 2024

My intent is to include this in next week's patch release, as it's small in scope and 0.7.0 is unlikely to be released until priority efforts like #99 and #91 have landed.

@Abbe98 Abbe98 closed this as completed Apr 11, 2024
@Abbe98 Abbe98 removed this from the Planned milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏅 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants