WebsiteBaker Community Forum

WebsiteBaker Support (2.11.x) => Modules => Topic started by: RonR on October 26, 2018, 10:23:17 AM

Title: WBLingual html lang tag
Post by: RonR on October 26, 2018, 10:23:17 AM
I have a bilingual website.
On my wishlist is some code for making a HTMl lang tag.
like:   <html lang="en">

or possibly also hreflang tags like:

<link rel="alternate" href="https://mydomain.com/pages/welkom" hreflang="nl" />
<link rel="alternate" href="https://mydomain.com/pages/welcome" hreflang="en" />

as pages are linked to eachother, it should be possible,

Unfortunately my coding skills dont go that far.
Maybe as a part of WBLingual?
Title: Re: WBLingual html lang tag
Post by: dbs on October 26, 2018, 10:35:27 AM
Hi, in WB 2.12.1 in templates/DefaultTemplate in index.php you should find things like that. Have a look.
Title: Re: WBLingual html lang tag
Post by: RonR on October 26, 2018, 01:34:24 PM
Great, exactly what I was looking for, thanks!