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

Permalinks config option is not respected #484

Closed
andreasvirkus opened this issue Sep 28, 2019 · 2 comments
Closed

Permalinks config option is not respected #484

andreasvirkus opened this issue Sep 28, 2019 · 2 comments

Comments

@andreasvirkus
Copy link
Contributor

Bug report

Steps to reproduce

Clone this branch: https://github.com/andreasvirkus/cottage/tree/refactor/saber
git clone git@github.com:andreasvirkus/cottage.git

  1. Downgrade saber to 0.8.1 (since > 0.9 has Fails to compile with 0.9.1 - @babel/runtime/generator module not found #483)
  2. Make sure you have page: /:slug in your saber.config.yml file
permalinks:
  page: /:slug
  1. Visit the local server and try to access the pages /about or /contact

What is expected?

Running saber should compile the dev bundle and start up the development server.

What is actually happening?

Saber returns the 404 page and you can only access those pages /about.html and /contact.html

Other relevant information

  • Result of running saber -v: 0.8.1
  • Is Saber a global or local install? local install
  • Which package manager did you use for the install? npm
  • Does this issue occur when all plugins are disabled? yes
@egoist
Copy link
Collaborator

egoist commented Sep 28, 2019

should be saber-config.yml and saber-browser.js

image

@andreasvirkus
Copy link
Contributor Author

🤦‍♂ Thank you, that was it...

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

No branches or pull requests

2 participants