Merge pull request #4035 from hashicorp/website-description-default
website: set a default page description
This commit is contained in:
commit
5bb45bf954
|
@ -45,7 +45,7 @@ helpers do
|
|||
#
|
||||
# @return [String]
|
||||
def description_for(page)
|
||||
description = (page.data.description || "")
|
||||
description = (page.data.description || "Consul by HashiCorp")
|
||||
.gsub('"', '')
|
||||
.gsub(/\n+/, ' ')
|
||||
.squeeze(' ')
|
||||
|
|
Loading…
Reference in New Issue