Merge branch 'placeholder_for_server_generated_meta' into 'develop'

Add placeholder to insert server generated metatags

See merge request pleroma/pleroma-fe!419
This commit is contained in:
HJ 2018-12-14 11:11:32 +00:00
commit 54e34c68fc
2 changed files with 3 additions and 1 deletions

View file

@ -58,7 +58,8 @@ var webpackConfig = merge(baseWebpackConfig, {
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true
removeAttributeQuotes: true,
ignoreCustomComments: [/server-generated-meta/]
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
},

View file

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pleroma</title>
<!--server-generated-meta-->
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/static/font/css/fontello.css">
<link rel="stylesheet" href="/static/font/css/animation.css">