Skip to content

Commit

Permalink
remove some console.log #230
Browse files Browse the repository at this point in the history
  • Loading branch information
mef committed Apr 27, 2023
1 parent 9adf48a commit 194e5cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions themes/mango-information-systems/layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@
, 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' )
canonicalURL = 'https://alef.website/tools/csv-to-json'
else
canonicalURL =config.url + url_for(page.path).replace( /(\/index\.html?$)|(\/?$)/, '/')
console.log('canonicalURL', canonicalURL)
if (is_archive())
title = 'Blog'
else if (is_category())
Expand Down

0 comments on commit 194e5cf

Please sign in to comment.