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
James Brundage committed Oct 9, 2024
1 parent 270ca56 commit e2de079
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Types/PSJekyll.Template/Include.PSCmdlet.md.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
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 %}
"@

0 comments on commit e2de079

Please sign in to comment.