mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 23:05:30 -04:00
Added customizable og-metadata to notes
Signed-off-by: Erik Michelson <erik@liltv.de>
This commit is contained in:
parent
116bd7230c
commit
2881f8211a
4 changed files with 23 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue