-# The website partial displays the website icon and address.
  e.g. [icon] www.example.com

- if website.present?
  %section.website.icon-text-block
    %i.fa.fa-external-link-square
    %span
      %a{ href: website, target: '_blank' }
        %span{ itemprop: 'url' }
          = format_url(website)

-# The website partial displays the website icon and address.
  e.g. [icon] www.example.com

- if website.present?
  %section.website.icon-text-block
    %i.fa.fa-external-link-square
    %span
      %a{ href: website, target: '_blank', itemprop: 'url' }
        = format_url(website)

Move itemprop="url" to <a> tag in website detail
Move itemprop="url" to <a> tag in website detail

The value of the "url" property should be an actual URL. The output of
format_url is missing the protocol.
