Embed json-ld metadata on events in emails

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-10-13 12:57:54 +02:00
parent 555ae867ea
commit 676fab7871
5 changed files with 60 additions and 3 deletions

View File

@@ -41,6 +41,9 @@
/* ANDROID CENTER FIX */
div[style*="margin: 16px 0;"] { margin: 0 !important; }
</style>
<%= if @jsonLDMetadata do %>
<script type="application/ld+json"><%= @jsonLDMetadata |> raw %></script>
<% end %>
</head>
<body style="background-color: #ECEBF2; margin: 0 !important; padding: 0 !important;mso-line-height-rule: exactly;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">