diff options
Diffstat (limited to 'public/views/pretty.ejs')
-rw-r--r-- | public/views/pretty.ejs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 1970ab2f..5f18ea8b 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -14,6 +14,10 @@ <% if(typeof description !== 'undefined' && description) { %> <meta name="description" content="<%= description %>"> <% } %> + <% for (var og in opengraph) { %> + <% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> + <meta property="og:<%= og %>" content="<%= opengraph[og] %>"> + <% }} %> <title><%= title %></title> <link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png"> <link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png"> |