UX: Add title suffix to shared AI pages (#531)
This commit is contained in:
parent
8b0e9984cf
commit
dfc13fc631
|
@ -1,13 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= @shared_conversation.title %></title>
|
||||
<meta property="og:title" content="<%= @shared_conversation.title %>">
|
||||
<title><%= I18n.t("discourse_ai.share_ai.title", title: @shared_conversation.title, site_name: SiteSetting.title) %></title>
|
||||
<meta property="og:title" content="<%= I18n.t("discourse_ai.share_ai.title", title: @shared_conversation.title, site_name: SiteSetting.title) %>">
|
||||
<meta property="og:description" content="<%= @shared_conversation.formatted_excerpt %>">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="<%= request.original_url %>">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="<%= @shared_conversation.title %>">
|
||||
<meta name="twitter:title" content="<%= I18n.t("discourse_ai.share_ai.title", title: @shared_conversation.title, site_name: SiteSetting.title) %>">
|
||||
<meta name="twitter:description" content="<%= @shared_conversation.formatted_excerpt %>">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="<%= ::UrlHelper.local_cdn_url("/plugins/discourse-ai/ai-share/share.css") %>">
|
||||
|
|
|
@ -159,6 +159,7 @@ en:
|
|||
read_more: "Read full transcript"
|
||||
onebox_title: "AI Conversation with %{llm_name}"
|
||||
formatted_excerpt: "AI Conversation with %{llm_name}:\n %{excerpt}"
|
||||
title: "%{title} - AI Conversation - %{site_name}"
|
||||
errors:
|
||||
not_allowed: "You are not allowed to share this topic"
|
||||
other_people_in_pm: "Personal messages with other humans cannot be shared publicly"
|
||||
|
|
Loading…
Reference in New Issue