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

This commit is contained in:
Joffrey JAFFEUX 2020-05-21 11:04:23 +02:00 committed by GitHub
parent 18959ff9da
commit 7b6fbe9af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,8 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <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" %> <%= render partial: "common/discourse_publish_stylesheet" %>
<%- if @canonical_url -%>
<link rel="canonical" href="<%= @canonical_url %>" />
<%- end -%>
</head> </head>
<body class="<%= @body_classes.to_a.join(' ') %>"> <body class="<%= @body_classes.to_a.join(' ') %>">
<%= yield %> <%= yield %>