Add structured data

pull/1648/merge
Seth Vargo 2016-01-24 13:27:30 -05:00
parent 35adb391a2
commit 40707934d2
2 changed files with 16 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -4,7 +4,7 @@
<div class="col-xs-12"> <div class="col-xs-12">
<% if current_page.url != '/' %> <% if current_page.url != '/' %>
<div class="edit-page-link"><a href="<%= github_url :current_page %>">Edit this page</a></div> <div class="edit-page-link"><a href="<%= github_url :current_page %>">Edit this page</a></div>
<% end %> <% end %>
<div> <div>
<ul class="main-links white nav navbar-nav"> <ul class="main-links white nav navbar-nav">
<li><a href="/intro/index.html">Intro</a></li> <li><a href="/intro/index.html">Intro</a></li>
@ -76,5 +76,20 @@ window.onload = function(){
APP.initialize(); APP.initialize();
</script> </script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name": "Consul",
"alternateName": "Consul by HashiCorp",
"manufacturer": "HashiCorp",
"url": "https://www.consul.io",
"logo": "<%= File.join(base_url, image_path("logo_large.png")) %>",
"sameAs": [
"https://github.com/hashicorp/consul"
]
}
</script>
</body> </body>
</html> </html>