mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-04 16:46:06 -04:00
Ensure description
This commit is contained in:
parent
e774fe460d
commit
de2e28703a
2 changed files with 9 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ helpers do
|
|||
#
|
||||
# @return [String]
|
||||
def description_for(page)
|
||||
return escape_html(page.data.description || "")
|
||||
return escape_html((page.data.description || "").gsub(/\n+/, ' ').squeeze(' '))
|
||||
end
|
||||
|
||||
# This helps by setting the "active" class for sidebar nav elements
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
---
|
||||
description: |-
|
||||
Vault secures, stores, and tightly controls access to tokens, passwords,
|
||||
certificates, API keys, and other secrets in modern computing. Vault handles
|
||||
leasing, key revocation, key rolling, auditing, and provides secrets as a
|
||||
service through a unified API.
|
||||
---
|
||||
|
||||
<%= partial "layouts/sidebar" %>
|
||||
|
||||
<div id="demo-app"></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue