Skip to content

A platform for community discussion. Free, open, simple.

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

Joffrey JAFFEUX7b6fbe9af2a4
diff --git a/app/views/layouts/publish.html.erb b/app/views/layouts/publish.html.erb
index 5bb0f957c58..4a249e8f32d 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 %>