<% title ||= "GRID-Arendal Website" %>
<% description ||= "GRID-Arendal is a Norwegian foundation working closely with the United Nations Environment. We are working on projects all around the world on biodiversity, environmental crime, climate change and Indigenous Peoples." %>
<% img_src ||= image_url("header#{[1,2,3,4,5,6,7].shuffle.first}.jpg") %>

<meta itemprop="name" content="<%= title %>">
<meta itemprop="description" content="<%= description %>">
<meta itemprop="image" content="<%= img_src %>">

<!-- Twitter Card data -->
<meta name="twitter:site" content="@GRIDArendal"/>
<meta name="twitter:title" content="<%= title %>"/>
<meta name="twitter:creator" content="@GRIDArendal"/>
<meta name="twitter:description" content="<%= description %>"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:image" content="<%= img_src %>"/>

<!-- Open Graph data -->
<meta property="og:title" content="<%= title %>"/>
<meta property="og:type" content="<%= action_name == "index" ? "website" : "article" %>"/>
<meta property="og:url" content="<%= request.original_url %>"/>
<meta property="og:image" content="<%= img_src %>"/>
<meta property="og:description" content="<%= description %>"/>

<% title ||= "GRID-Arendal Website" %>
<% description = description.present? ? strip_tags(description) : "GRID-Arendal is a Norwegian foundation working closely with the United Nations Environment. We are working on projects all around the world on biodiversity, environmental crime, climate change and Indigenous Peoples." %>
<% img_src ||= image_url("header#{[1,2,3,4,5,6,7].shuffle.first}.jpg") %>

<meta itemprop="name" content="<%= title %>">
<meta itemprop="description" content="<%= description %>">
<meta itemprop="image" content="<%= img_src %>">

<!-- Twitter Card data -->
<meta name="twitter:site" content="@GRIDArendal"/>
<meta name="twitter:title" content="<%= title %>"/>
<meta name="twitter:creator" content="@GRIDArendal"/>
<meta name="twitter:description" content="<%= description %>"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:image" content="<%= img_src %>"/>

<!-- Open Graph data -->
<meta property="og:title" content="<%= title %>"/>
<meta property="og:type" content="<%= action_name == "index" ? "website" : "article" %>"/>
<meta property="og:url" content="<%= request.original_url %>"/>
<meta property="og:image" content="<%= img_src %>"/>
<meta property="og:description" content="<%= description %>"/>

Remove all HTML tags from the meta og description
Remove all HTML tags from the meta og description
