Add shareDescription

This commit is contained in:
sigaloid
2022-08-17 15:18:34 -04:00
parent f241bc564c
commit 10676a8d0c
4 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8">
<% if (note.hasLabel("shareDescription")) { %>
<meta name="description" content="<%= note.getLabelValue("shareDescription") %>">
<% } %>
<meta name="viewport" content="width=device-width, initial-scale=1">
<% if (note.hasRelation("shareFavicon")) { %>
<link rel="shortcut icon" href="api/notes/<%= note.getRelation("shareFavicon").value %>/download">