FIX: adds missing tags to published page header (#9835)

FIX: adds missing tags to published page header (#9835)

diff --git a/app/views/layouts/publish.html.erb b/app/views/layouts/publish.html.erb
index 5bb0f95..4a249e8 100644
--- a/app/views/layouts/publish.html.erb
+++ b/app/views/layouts/publish.html.erb
@@ -2,13 +2,8 @@
 <html>
   <head>
     <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">
-
+    <%= render partial: "layouts/head" %>
     <%= render partial: "common/discourse_publish_stylesheet" %>
-
-    <%- if @canonical_url -%>
-      <link rel="canonical" href="<%= @canonical_url %>" />
-    <%- end -%>
   </head>
   <body class="<%= @body_classes.to_a.join(' ') %>">
     <%= yield %>

GitHub sha: 7b6fbe9a

This commit appears in #9835 which was approved by eviltrout. It was merged by jjaffeux.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/page-publishing/151971/17