mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
chore(share): use rendered template (missing include)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<%
|
||||
const { note, subRoot, assetPath, appPath } = locals;
|
||||
let content = locals.content;
|
||||
%>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -56,9 +60,6 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi"
|
||||
<% if (note.hasLabel("shareDisallowRobotIndexing")) { %>
|
||||
<meta name="robots" content="noindex,follow" />
|
||||
<% } %>
|
||||
<style>
|
||||
<%- shareThemeCss %>
|
||||
</style>
|
||||
|
||||
<%
|
||||
const pageTitle = `${note.title}${note.noteId !== subRoot.note.noteId ? ` - ${subRoot.note.title}` : ""}`;
|
||||
|
||||
Reference in New Issue
Block a user