Skip to content

Variable substitution in include paths#17

Open
MaxMotovilov wants to merge 2 commits intoyanni4night:masterfrom
MaxMotovilov:master
Open

Variable substitution in include paths#17
MaxMotovilov wants to merge 2 commits intoyanni4night:masterfrom
MaxMotovilov:master

Conversation

@MaxMotovilov
Copy link

<!--# include file="path/name$suffix.css" -->

<!--# include file="path/${name}suffix.css" -->

This minimalistic patch can only substitute variables supplied via options.payload, not those defined via #set SSI directives.

Also fixes a bug in #echo parser that manifested on default="".

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant