Skip to content

Commit

Permalink
~remove trailing slash from canonical URL #230
Browse files Browse the repository at this point in the history
  • Loading branch information
mef committed Jan 1, 2024
1 parent c621bed commit 1485bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/mango-information-systems/layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
else if( page.path.startsWith('tools/') )
canonicalURL = 'https://alef.website/tools'
else
canonicalURL = 'https://alef.website' + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '/')
canonicalURL = 'https://alef.website' + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '')
if (is_archive())
title = 'Blog'
Expand Down

0 comments on commit 1485bbd

Please sign in to comment.