Use a description attribute for HTML descriptions

This commit is contained in:
Seth Vargo 2014-10-18 19:36:17 -04:00
parent 26c2bf1788
commit 36a14019d1
2 changed files with 5 additions and 3 deletions

View File

@ -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">

View File

@ -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" %>