Stephanevg / PSHTML

Cross platform Powershell module to generate HTML markup language
https://pshtml.readthedocs.io/en/latest/
Other
168 stars 43 forks source link

enable passing variables / data to called include files #302

Open Stephanevg opened 1 year ago

Stephanevg commented 1 year ago

Currently it is not possible to pass data / configuration data down to the contents of an include. Which means that the include is somewhat static.

What to do

Make data available in includes

Write-PSHTMLInclude -Name jumbotron -data $Data