External Links are not working

Hi guys, I am trying to add an external link to my nav item but there is an error.

Error : URLs with protocol (http*) not supported: “http://google.com”. In page “D:\Projects\docs\content\en\Playground\_index.md”

title: link
linkTitle: Playground

menu: {main: {weight: 20}}
weight: 20
    type: docs
url : http://google.com

This is my _index.md code for the link please suggest.

That front matter field does not do what you think it does:

I’m not sure what you’re trying to do, but it looks like you want a custom front matter field, something like:

externalLink = 'https://google.com'