Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support subdirectories for additional pages paths #469

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

shadows-withal
Copy link
Contributor

{
  "build": {
    "additional_pages": {
      "Subpage": "subdir/mypage.md",
    }
  }
}

now builds and links to a page at yoursiteurl.com/subdir/mypage. Closes #448.

@shadows-withal shadows-withal force-pushed the fix/correct-paths branch 2 times, most recently from f563390 to daa279a Compare June 27, 2023 17:12
we do not actually support this, i'm not sure why it worked (i think the test was broken)
Copy link
Member

@ashleygwilliams ashleygwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some small things, might just need to understand better

src/site/layout/header.rs Show resolved Hide resolved
src/site/page/mod.rs Show resolved Hide resolved
src/site/page/source.rs Outdated Show resolved Hide resolved
src/site/page/source.rs Outdated Show resolved Hide resolved
tests/build/fixtures/oranda_config.rs Show resolved Hide resolved
Copy link
Member

@ashleygwilliams ashleygwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@shadows-withal shadows-withal merged commit 791ad1a into main Jun 27, 2023
@shadows-withal shadows-withal deleted the fix/correct-paths branch June 27, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to link to an additional page from README?
2 participants