chore: add open graph meta in html template <head>

This commit is contained in:
Haishan 2018-10-20 20:59:38 +08:00
parent 36681d318c
commit ab42517a59

View file

@ -11,6 +11,13 @@
<link id="favicon" rel="icon" type="image/png" sizes="128x128" href="yacd-128.png"> <link id="favicon" rel="icon" type="image/png" sizes="128x128" href="yacd-128.png">
<title><%= htmlWebpackPlugin.options.title %></title> <title><%= htmlWebpackPlugin.options.title %></title>
<meta property="og:image" content="https://haishanh.github.io/yacd/yacd-128.png">
<meta property="og:site_name" content="yacd">
<meta property="og:type" content="object">
<meta property="og:title" content="yacd - Yet Another Clash Dashboard">
<meta property="og:url" content="https://haishanh.github.io/yacd">
<meta property="og:description" content="yacd - Yet Another Clash Dashboard.">
<% for (key in htmlWebpackPlugin.files.css) { %> <% for (key in htmlWebpackPlugin.files.css) { %>
<link href="<%= htmlWebpackPlugin.files.css[key] %>" rel="stylesheet"> <link href="<%= htmlWebpackPlugin.files.css[key] %>" rel="stylesheet">
<% } %> <% } %>