-
Notifications
You must be signed in to change notification settings - Fork 175
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
Support "!=" in built-in template processor #358
Comments
Does it work if you instead use == and put the include in an else clause? |
yes and no, this doesn't, it treats the include as just text, but if I remove the indentation it works. changing that may be another ticket... though the way I'd like it to behave is include that code prepended with that indentation. I don't think I should need the else for this though.
|
Yes, {% must be first on the line and only == is supported. For more advanced templates you could perhaps use ninja instead? |
maybe, but only having |
This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
maybe a bug, maybe a PEBCAK (I apologize if it is), I have this code, but for some reason the output of
yadm alt
doesn't include the contents of thedeveloper.sh
https://github.com/xenoterracide/dotfiles/blob/2002b498c5bfad7c93b959dcbbf7e75fdb69d4a2/.config/yadm/alt/.zshrc%23%23template%2Ce.zsh#L34
The text was updated successfully, but these errors were encountered: