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

Tags and Archives links shoud follow permalink configuration #5543

Open
2 tasks done
majkel89 opened this issue Sep 8, 2024 · 0 comments · May be fixed by #5544
Open
2 tasks done

Tags and Archives links shoud follow permalink configuration #5543

majkel89 opened this issue Sep 8, 2024 · 0 comments · May be fixed by #5544

Comments

@majkel89
Copy link

majkel89 commented Sep 8, 2024

Check List

  • I have already read Docs page.
  • I have already searched existing issues.

Feature Request

It is possible to configure permalinks for posts

pretty_urls:
  trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
  trailing_html: true # Set to false to remove trailing '.html' from permalinks

This way posts links are as follows: http://localhost:4000/2024/09/08/hello-world/index.html

The settings does not apply for tags (http://localhost:4000/tags/tag1/) nor archives (http://localhost:4000/archives/2024/09/).

It leads to problems when blog is hosted behind private S3 bucket.

To make the links consistent my proposition is to add /index.html to links generated by Tag and Category models.

Others

No response

@majkel89 majkel89 linked a pull request Sep 8, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants