mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add canonical urls
This commit is contained in:
1 parent
ab4a22d8ba
commit
cb6d24dfca
2 files changed
+4
No files matched your search
@@ -1,3 +1,4 @@
|
||||
<%= content_for(:canonical_url, new_user_session_url) %>
|
||||
<div class="max-w-lg mx-auto px-2">
|
||||
<%= render 'devise/shared/select_server' if Docuseal.multitenant? %>
|
||||
<h1 class="text-4xl font-bold text-center mt-8"><%= t('sign_in') %></h1>
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
<% else %>
|
||||
<%= javascript_pack_tag 'application', defer: true %>
|
||||
<% end %>
|
||||
<% if canonical_url = content_for(:canonical_url) %>
|
||||
<link href="<%= canonical_url %>" rel="canonical">
|
||||
<% end %>
|
||||
<%= stylesheet_pack_tag 'application', media: 'all' %>
|
||||
<%= render 'shared/posthog' if ENV['POSTHOG_TOKEN'] %>
|
||||
<%= render 'shared/plausible' if !signed_in? && ENV['PLAUSIBLE_DOMAIN'] %>
|
||||
|
||||
Reference in new issue
Block a user