Skip to content

Commit

Permalink
remove trailing slash from canonical URL #230
Browse files Browse the repository at this point in the history
in alef hosted version
  • Loading branch information
mef committed Apr 27, 2023
1 parent 34673d5 commit 375ef89
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 @@ -2,7 +2,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<%
let url = config.url + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '/')
let url = config.url + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '')
, title
if (is_archive())
Expand Down

0 comments on commit 375ef89

Please sign in to comment.