Skip to content

Commit

Permalink
docs: PSJekyll.Site.get/set_Layout ( Fixes #44, Fixes #51 )
Browse files Browse the repository at this point in the history
Adding docs
  • Loading branch information
James Brundage committed Oct 9, 2024
1 parent 08247e4 commit fea7ac8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Types/PSJekyll.Site/get_Layout.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<#
.SYNOPSIS
Gets the layout files of a site.
.DESCRIPTION
Gets the layout files in a Jekyll site.
Layout files are used to define the structure of a page.
.LINK
https://jekyllrb.com/docs/layouts/
#>
param()

foreach ($specialFile in $this.File -match '[\\/]_layouts[\\/]') {
Expand Down
10 changes: 10 additions & 0 deletions Types/PSJekyll.Site/set_Layout.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<#
.SYNOPSIS
Sets the layout files of a site.
.DESCRIPTION
Sets the layout files in a Jekyll site.
Layout files are used to define the structure of a page.
.LINK
https://jekyllrb.com/docs/layouts/
#>
param()

$unrolledArguments = @($args | . { process { $_ } })
Expand Down

0 comments on commit fea7ac8

Please sign in to comment.