Skip to content

Commit 0bc38ff

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: PSJekyll.Template.Include.PSTypeName ( Fixes #87 )
Simplifying and fixing pathing
1 parent 2de1e43 commit 0bc38ff

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

PSJekyll.types.ps1xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,12 +1943,8 @@ param()
19431943
param()
19441944

19451945
@"
1946-
{% for functionName in site.data.PSExportTypeNames %}
1947-
{% if site.pages | where: "url", "/{{functionName}}" %}
1948-
* [{{ functionName }}](/{{functionName}})
1949-
{% else %}
1950-
* {{ functionName }}
1951-
{% endif %}
1946+
{% for typeName in site.data.PSModule.TypeNames %}
1947+
* [{{ typeName }}](/{{typeName}})
19521948
{% endfor %}
19531949
"@
19541950
</Script>

0 commit comments

Comments
 (0)