Skip to content

Commit

Permalink
redirects auf für externe seiten
Browse files Browse the repository at this point in the history
  • Loading branch information
mcilurzo committed Aug 29, 2024
1 parent cf3aabb commit b6a31a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions src/_data/lyne/lyneversion.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
module.exports = {
url: 'https://raw.githubusercontent.com/sbb-design-systems/lyne-components/',
branch: "v1.8.0",
master: "master",
path: "/src/elements/",
dok: '/readme.md'
};


url: 'https://raw.githubusercontent.com/sbb-design-systems/lyne-components/',
branch: "v1.9.0",
master: "master",
path: "/src/elements/",
dok: '/readme.md'
};
2 changes: 1 addition & 1 deletion src/redirect.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ parent: root
eleventyExcludeFromCollections: true
permalink: /redirects.txt
---
{% for page in collections.all | include("data.hideInSitemap", true) | exclude("data.external", true) %}{{ page.filePathStem | removeLastPathSegment }}/ {{page.data.redirect}};
{% for page in collections.all | include("data.hideInSitemap", true) %}{{ page.filePathStem | removeLastPathSegment }}/ {{page.data.redirect}};
{% endfor %}

0 comments on commit b6a31a7

Please sign in to comment.