Skip to content

Added support for .html extension in canonical links #239

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

e41q
Copy link

@e41q e41q commented May 24, 2025

The head.html template now checks for the use_html_extension variable. If it's set and the current page is not the root (/), the .html extension is appended to the canonical link.

Tip: for correct sitemap I fork and hack jekyll_sitemap for links with .html at the end.

And add .DS_Store .Thumbs.db to .gitignore.

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.

1 participant