We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8363914 commit 6739461Copy full SHA for 6739461
psturtle.com/config.ps1
@@ -295,18 +295,16 @@ $sitebackgrounds = @(
295
)
296
297
$siteBackground = $sitebackgrounds | Get-Random
298
-
299
-$site.Background = . $siteBackground|
+$backgroundTurtle = . $siteBackground
+$site.Background = $backgroundTurtle |
300
Set-Turtle PatternAnimation $backgroundPatternAnimations |
301
Set-Turtle PathAttribute @{opacity=.2} |
302
Select-Object -ExpandProperty Pattern
303
304
$pngPreviewFile = 'Preview.png'
305
-$siteBackground |
+$backgroundTurtle |
306
Set-Turtle Stroke '#4488ff' |
307
Save-Turtle -FilePath "./$pngPreviewFile"
308
309
$site.Image = "$($site.RootUrl)$pngPreviewFile"
310
311
312
#endregion Site Background
0 commit comments