github.com/outbrain/consul@v1.4.5/website/source/layouts/layout.erb (about) 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="mobile-web-app-capable" content="yes"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <meta name="description" content="<%= description_for(current_page) %>"> 8 9 <link rel="apple-touch-icon" sizes="180x180" href="<%= image_path("favicons/apple-touch-icon.png") %>"> 10 <link rel="icon" type="image/png" href="<%= image_path("favicons/favicon-32x32.png") %>" sizes="32x32"> 11 <link rel="icon" type="image/png" href="<%= image_path("favicons/favicon-16x16.png") %>" sizes="16x16"> 12 <link rel="manifest" href="/android-manifest.json"> 13 <link rel="mask-icon" href="<%= image_path("favicons/safari-pinned-tab.svg") %>" color="#961D59"> 14 <meta name="msapplication-config" content="/microsoft-tile.xml" /> 15 <meta name="theme-color" content="#ffffff"> 16 17 <meta name="twitter:card" content="summary_large_image" /> 18 <meta name="twitter:site" content="@HashiCorp" /> 19 <meta name="twitter:creator" content="@HashiCorp" /> 20 <meta property="og:type" content="website" /> 21 <meta property="og:url" content="<%= File.join(base_url, current_page.url) %>" /> 22 <meta property="og:title" content="<%= title_for(current_page) %>" /> 23 <meta property="og:site_name" content="Consul by HashiCorp"/> 24 <meta property="og:image" content="<%= image_url("og-image.png") %>"/> 25 <meta property="og:description" content="<%= description_for(current_page) %>" /> 26 27 <title><%= title_for(current_page) %></title> 28 29 <!-- Stylesheets --> 30 <link rel="stylesheet" href="https://use.typekit.net/ypp5bnp.css"> 31 <%= stylesheet_link_tag "application" %> 32 33 <!-- Site scripts --> 34 <!--[if lt IE 9]><%= javascript_include_tag "ie-compat", defer: true %><![endif]--> 35 <%= javascript_include_tag "consul-connect/vendor/intersection-observer-polyfill", defer: true %> 36 <%= javascript_include_tag "consul-connect/vendor/siema.min", defer: true %> 37 <%= javascript_include_tag "consul-connect/vendor/classlist-polyfill.min", defer: true %> 38 <%= javascript_include_tag "application", defer: true %> 39 40 <!-- Analytics scrpts --> 41 <script defer> 42 !function(){var e=window.analytics=window.analytics||[];if(!e.initialize)if(e.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{e.invoked=!0,e.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"],e.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),e.push(a),e}};for(var t=0;t<e.methods.length;t++){var a=e.methods[t];e[a]=e.factory(a)}e.load=function(e){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+e+"/analytics.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)},e.SNIPPET_VERSION="4.0.0",e.load("<%= segmentId %>")}}();var om597a24292a958,om597a24292a958_poll=function(){var e=0;return function(t,a){clearInterval(e),e=setInterval(t,a)}}();!function(e,t,a){if(e.getElementById(a))om597a24292a958_poll(function(){if(window.om_loaded&&!om597a24292a958)return(om597a24292a958=new OptinMonsterApp).init({s:"35109.597a24292a958",staging:0,dev:0,beta:0})},25);else{var n=!1,o=e.createElement("script");o.id=a,o.src="//a.optnmstr.com/app/js/api.min.js",o.async=!0,o.onload=o.onreadystatechange=function(){if(!(n||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState))try{n=om_loaded=!0,(om597a24292a958=new OptinMonsterApp).init({s:"35109.597a24292a958",staging:0,dev:0,beta:0}),o.onload=o.onreadystatechange=null}catch(e){}},(document.getElementsByTagName("head")[0]||document.documentElement).appendChild(o)}}(document,0,"omapi-script"); 43 </script> 44 45 <%= yield_content :head %> 46 </head> 47 48 <body id="<%= body_id_for(current_page) %>" class="<%= body_classes_for(current_page) %>"> 49 50 <%= mega_nav :consul %> 51 52 <div id="header" class="navigation navbar-static-top hidden-print"> 53 <div class="container"> 54 <div class="row"> 55 <div class="col-xs-12"> 56 <div class="navbar-header"> 57 <div class="navbar-brand"> 58 <a href="/"> 59 <%= inline_svg "logo-text.svg", height: 50, class: "logo" %> 60 </a> 61 </div> 62 <button class="navbar-toggle" type="button"> 63 <span class="sr-only">Toggle navigation</span> 64 <span class="icon-bar"></span> 65 <span class="icon-bar"></span> 66 <span class="icon-bar"></span> 67 </button> 68 </div> 69 <div class="buttons hidden-xs hidden-sm"> 70 <nav class="navigation-links" role="navigation"> 71 <ul class="main-links nav navbar-nav navbar-right"> 72 <li><span>Use Cases<svg width="9" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M8.811 1.067a.612.612 0 0 0 0-.884.655.655 0 0 0-.908 0L4.5 3.491 1.097.183a.655.655 0 0 0-.909 0 .615.615 0 0 0 0 .884l3.857 3.75a.655.655 0 0 0 .91 0l3.856-3.75z" fill="#252937" fill-rule="evenodd"/></svg></span> 73 <ul class="dropdown"> 74 <li><a href="/discovery.html">Service Discovery</a></li> 75 <li><a href="/segmentation.html">Service Segmentation</a></li> 76 <li><a href="/configuration.html">Service Configuration</a></li> 77 </ul> 78 </li> 79 <li><a href="/intro/index.html">Intro</a></li> 80 <li><a href="/docs/guides/index.html">Guides</a></li> 81 <li><a href="/docs/index.html">Docs</a></li> 82 <li><a href="/api/index.html">API</a></li> 83 <li><a href="/community.html">Community</a></li> 84 <li><a href="https://www.hashicorp.com/products/consul/?utm_source=oss&utm_medium=header-nav&utm_campaign=consul">Enterprise</a></li> 85 <li> 86 <a href="/downloads.html"> 87 <%= inline_svg "download.svg" %> Download 88 </a> 89 </li> 90 <li> 91 <a href="https://github.com/hashicorp/consul"> 92 <%= inline_svg "github.svg" %> GitHub 93 </a> 94 </li> 95 </ul> 96 </nav> 97 </div> 98 </div> 99 </div> 100 </div> 101 </div> 102 103 <%= partial "layouts/sidebar" %> 104 105 <%= yield %> 106 107 <div id="footer" class="navigation hidden-print"> 108 <div class="container"> 109 <div class="row"> 110 <div class="col-xs-12"> 111 <ul class="footer-links nav navbar-nav"> 112 <li><a href="/intro/index.html">Intro</a></li> 113 <li><a href="/docs/guides/index.html">Guides</a></li> 114 <li><a href="/docs/index.html">Docs</a></li> 115 <li><a href="/api/index.html">API</a></li> 116 <li><a href="/community.html">Community</a></li> 117 <li><a href="https://www.hashicorp.com/privacy">Privacy</a></li> 118 <li><a href="/security.html">Security</a></li> 119 <li><a href="http://demo.consul.io/">Demo</a></li> 120 <li><a href="/assets/files/press-kit.zip">Press Kit</a></li> 121 </ul> 122 <ul class="footer-links nav navbar-nav navbar-right"> 123 <li><a href="<%= github_url :current_page %>">Edit this page</a></li> 124 </ul> 125 </div> 126 </div> 127 </div> 128 </div> 129 130 <%= yield_content :scripts %> 131 132 <script type="application/ld+json"> 133 { 134 "@context": "http://schema.org", 135 "@type": "Product", 136 "name": "Consul", 137 "alternateName": "Consul by HashiCorp", 138 "manufacturer": "HashiCorp", 139 "url": "https://www.consul.io", 140 "logo": "<%= File.join(base_url, image_path("logo-hashicorp.svg")) %>", 141 "sameAs": [ 142 "https://github.com/hashicorp/consul" 143 ] 144 } 145 </script> 146 </body> 147 </html>