Sha256: 3f95b6fe72c1299aeb86aa1430365ecb6308dfecc1dc78daea38830c8bd082dc

Contents?: true

Size: 1.87 KB

Versions: 12

Compression:

Stored size: 1.87 KB

Contents

<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>


<% if options[:company] %><meta name="company" content="<%= options[:company] %>"><% end %>

<% if options[:email] %><meta name="reply-to" content="<%= options[:email] %>"><% end %>

<% if options[:type] %>
    <meta name="page-type" content="<%= options[:type] %>">
    <meta name="page-topic" content="<%= options[:type] %>">
<% end %>

<% if options[:audience] %><meta name="audience" content="<%= options[:audience] %>"><% end %>

<% if options[:author] %>
    <meta name="DC.Creator" content="<%= options[:author] %>">
    <meta name="author" content="<%= options[:author] %>">
<% end %>

<% if options[:publisher] %>
    <meta name="DC.Publisher" content="<%= options[:publisher] %>">
    <meta name="publisher" content="<%= options[:publisher] %>">
<% end %>

<% if options[:copyright] %>
    <meta name="DC.Rights" content="<%= options[:copyright] %>">
    <meta name="copyright" content="<%= options[:copyright] %>">
<% end %>

<% if options[:description] %>
    <meta name="DC.Description" content="<%= options[:description] %>">
    <meta name="description" content="<%= options[:description] %>">
<% end %>

<% if options[:keywords] %><meta name="keywords" content="<%= options[:keywords].join(',') %>"><% end %>

<% if options[:language] %><meta name="DC.Language" content="<%= options[:language] %>"><% end %>

<% if options[:robots] %><meta name="robots" content="<%= options[:robots] %>"><% end %>


<% if options[:apple_touch_icon_120] %><link rel="apple-touch-icon" sizes="120x120" href="<%= options[:apple_touch_icon_120] %>"><% end %>
<% if options[:apple_touch_icon_152] %><link rel="apple-touch-icon" sizes="152x152" href="<%= options[:apple_touch_icon_152] %>"><% end %>


<% if options[:favicon] %><%%= favicon_link_tag "<%= options[:favicon] %>" %><% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
amp-html-0.7.18 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.17 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.16 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.15 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.14 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.13 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.12 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.11 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.10 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.9 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.8 lib/generators/templates/views/application/_head.html.erb
amp-html-0.7.7 lib/generators/templates/views/application/_head.html.erb