diff --git a/themes/mango-information-systems/layout/_partial/head.ejs b/themes/mango-information-systems/layout/_partial/head.ejs index b49b846..f50c89d 100644 --- a/themes/mango-information-systems/layout/_partial/head.ejs +++ b/themes/mango-information-systems/layout/_partial/head.ejs @@ -6,8 +6,6 @@ , title , canonicalURL -console.log('page path', page.path) - if( page.path.startsWith('blog/') ) canonicalURL = 'https://alef.website' + url_for(page.path).replace('blog/', 'blog/archive/').replace( /(\/index\.html?$)|(\/?$)/, '') else if( page.path === 'tools/csv-to-json/index.html' ) @@ -15,8 +13,6 @@ console.log('page path', page.path) else canonicalURL =config.url + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '/') -console.log('canonicalURL', canonicalURL) - if (is_archive()) title = 'Blog' else if (is_category())