Skip to content

refactor: preventing problem on nested PL output#1351

Merged
JosefBredereck merged 1 commit intopattern-lab:devfrom
mfranzke:refactor/patternlab-styleguide-default-link
Sep 16, 2021
Merged

refactor: preventing problem on nested PL output#1351
JosefBredereck merged 1 commit intopattern-lab:devfrom
mfranzke:refactor/patternlab-styleguide-default-link

Conversation

@mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Sep 5, 2021

Summary of changes:

On a patternlab installation nested in subfolder(s), the main link on the logo currently points to the top level root. By changing the default from "/" to "./" we could support both nested installations as well as the ones directly hosted in the root of the URL.

linking to the same levels main document, to prevent problems on a nested patternlab installation
@mfranzke mfranzke requested a review from sghoweri as a code owner September 5, 2021 05:28
@mfranzke mfranzke changed the title refactor: preventing problem on nested PL installations refactor: preventing problem on nested PL output Sep 9, 2021
@JosefBredereck
Copy link
Contributor

Useful improvement 👍

@JosefBredereck JosefBredereck merged commit c74e2d7 into pattern-lab:dev Sep 16, 2021
@mfranzke mfranzke deleted the refactor/patternlab-styleguide-default-link branch September 16, 2021 15:47
antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
…1351)

linking to the same levels main document, to prevent problems on a nested patternlab installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants