Skip to content

Commit

Permalink
fix: PSJekyll.Template.Include.PSCmdlet ( Fixes #81 )
Browse files Browse the repository at this point in the history
Updating pathing
  • Loading branch information
StartAutomating authored and StartAutomating committed Oct 9, 2024
1 parent e2de079 commit b8dfd9b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions PSJekyll.types.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -1895,12 +1895,8 @@ param()
param()

@"
{% for cmdletName in site.data.PSModuleCmdletNames %}
{% if site.pages | where: "url", "/{{cmdletName}}" %}
{% for cmdletName in site.data.PSModule.CmdletNames %}
* [{{ cmdletName }}](/{{cmdletName}})
{% else %}
* {{ cmdletName }}
{% endif %}
{% endfor %}
"@
</Script>
Expand All @@ -1911,12 +1907,8 @@ param()
param()

@"
{% for functionName in site.data.PSModuleFunctionNames %}
{% if site.pages | where: "url", "/{{functionName}}" %}
{% for functionName in site.data.PSModule.FunctionNames %}
* [{{ functionName }}](/{{functionName}})
{% else %}
* {{ functionName }}
{% endif %}
{% endfor %}
"@
</Script>
Expand All @@ -1927,7 +1919,7 @@ param()
param()

@"
{% for tagName in site.data.PSModuleInfo.Tags %}
{% for tagName in site.data.PSModule.Info.Tags %}
* [{{ tagName }}](https://www.powershellgallery.com/packages?q=Tags%3A%22{{tagName}}%22)
{% endfor %}
"@
Expand Down

0 comments on commit b8dfd9b

Please sign in to comment.