Skip to content

Commit

Permalink
update component library permalinks
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Jun 6, 2022
1 parent 587511f commit c5ba8c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/_includes/layouts/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ul class="index__list" id="js-index-list">
{% for item in collections.library %}
<li class="index__item">
<a href="{{ item.url | url }}" {{ helpers.getLinkActiveState(item.url,
<a href="{{ item.url | url | prettyURL }}" {{ helpers.getLinkActiveState(item.url,
page.url) | safe }}>{{ item.data.title }}</a>
</li>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/library/library.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"layout": "components.html",
"permalink": "/component-library/{{ page.fileSlug }}/index.html"
"permalink": "/component-library/{{ page.fileSlug }}.html"
}

0 comments on commit c5ba8c1

Please sign in to comment.