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

Support for custom canonical URLs #83

Closed
ngarbezza opened this issue Jun 27, 2023 · 1 comment
Closed

Support for custom canonical URLs #83

ngarbezza opened this issue Jun 27, 2023 · 1 comment

Comments

@ngarbezza
Copy link
Contributor

Hi!

I'm adding AstroPaper to my personal blog and I came across the need for custom canonical URLs.

Looking at the code, I think that it can be added as an optional attribute to the posts' frontmatter and pass it forward through the Layout template.

What do you think? I'm happy to work on this improvement

@satnaing
Copy link
Owner

satnaing commented Jul 3, 2023

Sounds good!
You can contribute to this one if you wish.

ngarbezza added a commit to ngarbezza/astro-paper that referenced this issue Jul 22, 2023
Adding an optional attribute in the posts' frontmatter that allows the user to set a custom canonical URL
satnaing pushed a commit that referenced this issue Jul 23, 2023
Adding an optional attribute in the posts' frontmatter that allows the user to set a custom canonical URL
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