Skip to content

Commit

Permalink
Merge pull request #4035 from hashicorp/website-description-default
Browse files Browse the repository at this point in the history
website: set a default page description
  • Loading branch information
pearkes authored Apr 20, 2018
2 parents a0263ff + 1cf3b40 commit 9dff3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def title_for(page)
#
# @return [String]
def description_for(page)
description = (page.data.description || "")
description = (page.data.description || "Consul by HashiCorp")
.gsub('"', '')
.gsub(/\n+/, ' ')
.squeeze(' ')
Expand Down

0 comments on commit 9dff3b3

Please sign in to comment.