Skip to content

Commit b8dfd9b

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: PSJekyll.Template.Include.PSCmdlet ( Fixes #81 )
Updating pathing
1 parent e2de079 commit b8dfd9b

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

PSJekyll.types.ps1xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,12 +1895,8 @@ param()
18951895
param()
18961896

18971897
@"
1898-
{% for cmdletName in site.data.PSModuleCmdletNames %}
1899-
{% if site.pages | where: "url", "/{{cmdletName}}" %}
1898+
{% for cmdletName in site.data.PSModule.CmdletNames %}
19001899
* [{{ cmdletName }}](/{{cmdletName}})
1901-
{% else %}
1902-
* {{ cmdletName }}
1903-
{% endif %}
19041900
{% endfor %}
19051901
"@
19061902
</Script>
@@ -1911,12 +1907,8 @@ param()
19111907
param()
19121908

19131909
@"
1914-
{% for functionName in site.data.PSModuleFunctionNames %}
1915-
{% if site.pages | where: "url", "/{{functionName}}" %}
1910+
{% for functionName in site.data.PSModule.FunctionNames %}
19161911
* [{{ functionName }}](/{{functionName}})
1917-
{% else %}
1918-
* {{ functionName }}
1919-
{% endif %}
19201912
{% endfor %}
19211913
"@
19221914
</Script>
@@ -1927,7 +1919,7 @@ param()
19271919
param()
19281920

19291921
@"
1930-
{% for tagName in site.data.PSModuleInfo.Tags %}
1922+
{% for tagName in site.data.PSModule.Info.Tags %}
19311923
* [{{ tagName }}](https://www.powershellgallery.com/packages?q=Tags%3A%22{{tagName}}%22)
19321924
{% endfor %}
19331925
"@

0 commit comments

Comments
 (0)