From 46edc7dc3710443c3f7bde679490e4726e427d11 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 9 Dec 2024 12:55:02 +0200 Subject: [PATCH] adjust title --- app/views/layouts/_head_tags.html.erb | 2 +- app/views/shared/_meta.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_head_tags.html.erb b/app/views/layouts/_head_tags.html.erb index 96a72e70..a6426f4f 100644 --- a/app/views/layouts/_head_tags.html.erb +++ b/app/views/layouts/_head_tags.html.erb @@ -1,4 +1,4 @@ - <%= content_for(:html_title) || 'DocuSeal | Open Source Document Signing' %> + <%= content_for(:html_title) || (signed_in? ? 'DocuSeal' : 'DocuSeal | Open Source Document Signing') %> <%= render 'shared/meta' %> diff --git a/app/views/shared/_meta.html.erb b/app/views/shared/_meta.html.erb index 710bdf02..62bc3afa 100644 --- a/app/views/shared/_meta.html.erb +++ b/app/views/shared/_meta.html.erb @@ -1,7 +1,7 @@ <% if Docuseal.demo? || (request.path != '/' && !devise_controller?) %> <% end %> -<% title = content_for(:html_title) || 'DocuSeal | Open Source Document Filling and Signing' %> +<% title = content_for(:html_title) || (signed_in? ? 'DocuSeal' : 'DocuSeal | Open Source Document Signing') %> <% description = content_for(:html_description) || 'Open source, self-hosted tool to streamline document filling and signing. Create custom PDF forms to complete and sign with an easy to use online tool.' %>