mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 09:23:12 +01:00
Rename Templates folder to templates
This commit is contained in:
parent
7a8baf1054
commit
17c26df2d9
@ -1 +0,0 @@
|
|||||||
/* Exported by export-scripts2serenade.ps1 */
|
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user