Created
December 26, 2018 18:54
-
-
Save jenswittmann/97bc2e295bac7d2619ed4505641bed52 to your computer and use it in GitHub Desktop.
Use MODX BabelLinks snippet for canonical Metatags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add snippet into <head> | |
[[BabelLinks? | |
&tpl=`babelCanonicalTag` | |
&showCurrent=`1` ]] | |
# create chunk with name babelCanonicalTag | |
<link rel="alternate" hreflang="[[+cultureKey]]" href="[[+url]]"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment