Sha256: 3312c8b61d825336b743077b15d4755e42f19b491eaf5401cdaf355001f8b958

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "<%= render_meta_page_title %>",
  "legalName": "<%= render_meta_page_title %>",
  "url": "<%= request.base_url %>",
  "logo": "<%= asset_url(:logo) %>",
  "contactPoint": [
  <% CompanyLocation.all.each do |location| %>
    {
      "@type": "PostalAddress",
      "streetAddress": "<%= location.street.upcase %>",
      "addressLocality": "<%= location.city.upcase %>",
      "postalCode": "<%= location.postal_code %>",
      "addressCountry": "<%= location.country.upcase %>"
    },
  <% end %>
    {
      "@type": "ContactPoint",
      "contactType": "customer support",
      "telephone": "[<%= CountryPhone.find_by(default_locale: I18n.locale).value %>]",
      "email": "<%= Settings.support_email %>"
    }
  ]
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/shared/json_microdata/_about_us.json.erb