Skip to content

Commit f0f436d

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: PSJekyll.Template.Include.PSAlias ( Fixes #80 )
Making into table
1 parent af9e91a commit f0f436d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

PSJekyll.types.ps1xml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,13 +1882,10 @@ param()
18821882
param()
18831883

18841884
@"
1885-
{% for aliasName in site.data.PSModuleAliasNames %}
1886-
{% assign pageLink = site.pages | where: "url", "/{{aliasName}}" %}
1887-
{% if pageLink %}
1888-
* [{{ aliasName }}](/{{aliasName}})
1889-
{% else %}
1890-
* {{ aliasName }}
1891-
{% endif %}
1885+
| Alias | Command |
1886+
|-|-|
1887+
{% for alias in site.data.PSModule.Aliases %}
1888+
| {{ alias.Name }} | [{{ alias.Definition }}](/{{alias.Definition}}) |
18921889
{% endfor %}
18931890
"@
18941891
</Script>

0 commit comments

Comments
 (0)