Skip to content

Commit

Permalink
Add description to hreflang function
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyklapatch committed Jun 20, 2024
1 parent 0dc0d43 commit d31f033
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions best-cigars-guide/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ export function isInternal(path) {
}
}

/**
* Add hreflang link attribute to head
*/
function addHreflang() {
const el = document.createElement('link');
el.rel = 'alternate';
Expand Down

0 comments on commit d31f033

Please sign in to comment.