Rename Templates folder to templates

This commit is contained in:
Markus Fleschutz 2023-10-31 10:55:32 +01:00
parent 7a8baf1054
commit 17c26df2d9
3 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
/* Exported by export-scripts2serenade.ps1 */

View File

@ -27,7 +27,7 @@ try {
Write-Host "⏳ Converting..." Write-Host "⏳ Converting..."
gci -r -i $FilePattern | foreach { gci -r -i $FilePattern | foreach {
$TargetPath = $_.directoryname + "\" + $_.basename + ".html" $TargetPath = $_.directoryname + "\" + $_.basename + ".html"
pandoc --standalone --template "$PSScriptRoot/../Data/Templates/template.html" -s $_.name -o $TargetPath pandoc --standalone --template "$PSScriptRoot/../Data/templates/template.html" -s $_.name -o $TargetPath
} }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ converted in $Elapsed sec" "✔️ converted in $Elapsed sec"