From 1cf3b40472aad6bcf6e2c4c93f53327a13eed11b Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 16 Apr 2018 14:23:09 -0700 Subject: [PATCH] website: set a default page description This is related to the updated unfurling behavior, see https://github.com/hashicorp/terraform-website/pull/242. --- website/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/config.rb b/website/config.rb index 8f56c6ab75..0a106d3e91 100644 --- a/website/config.rb +++ b/website/config.rb @@ -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(' ')