Browse Source

Use a description attribute for HTML descriptions

pull/411/head
Seth Vargo 10 years ago
parent
commit
af756f1ea6
  1. 4
      website/source/index.html.erb
  2. 4
      website/source/layouts/_header.erb

4
website/source/index.html.erb

@ -1,3 +1,7 @@
---
description: Service discovery and configuration made easy. Distributed, highly available, and datacenter-aware.
---
<!-- Main jumbotron for a primary marketing message or call to action -->
<div id="jumbotron-mask">
<div id="jumbotron">

4
website/source/layouts/_header.erb

@ -5,9 +5,7 @@
<meta charset="utf-8">
<title><%= current_page.data.page_title ? "#{current_page.data.page_title} - " : "" %>Consul</title>
<meta name="description" content="Service discovery and configuration made easy. Distributed, highly available, and datacenter-aware.">
<meta name="description" content="<%#= page_description %>" />
<meta name="keywords" content="<%#= (current_page.data.tags || ['Seth', 'Vargo', 'Chef', 'Ruby']).join(', ') %>" />
<meta name="description" content="<%= current_page.data.description %>" />
<%= stylesheet_link_tag "application" %>

Loading…
Cancel
Save