feat: change jinja variable start/end delimiters to avoid conflicts with go templating (#1168)
* feat: change jinja variable start/end delimiters to avoid conflicts with go templating Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update comment in makejinja.toml Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update comment in makejinja.toml Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
9317007e7f
commit
646f335689
25 files changed
+80
-79
No files matched your search
+6
-5
@@ -6,12 +6,13 @@ import_paths = ["./bootstrap/scripts"]
|
||||
loaders = ["loader:Loader"]
|
||||
jinja_suffix = ".j2"
|
||||
|
||||
# Block delimiters are changed to avoid conflicts with Renovate
|
||||
# Block and comment delimiters are changed to avoid conflicts with Renovate
|
||||
# Variable delimiters are changed to avoid conflicts with Renovate and Go templates
|
||||
# https://github.com/renovatebot/renovate/discussions/18470
|
||||
[makejinja.delimiter]
|
||||
block_start = "#%"
|
||||
block_end = "%#"
|
||||
comment_start = "{#"
|
||||
comment_end = "#}"
|
||||
variable_start = "{%"
|
||||
variable_end = "%}"
|
||||
comment_start = "#|"
|
||||
comment_end = "|#"
|
||||
variable_start = "#{"
|
||||
variable_end = "}#"
|
||||
Reference in new issue
Block a user