mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Merge pull request #4035 from hashicorp/website-description-default
website: set a default page description
This commit is contained in:
commit
9dff3b3a2c
@ -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…
x
Reference in New Issue
Block a user