2015-05-04 03:53:29 -04:00
|
|
|
<!DOCTYPE html>
|
2021-03-11 06:21:44 -05:00
|
|
|
<html>
|
2015-05-04 03:53:29 -04:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-07-01 12:10:20 -04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2016-01-12 09:01:42 -05:00
|
|
|
<% if(typeof robots !== 'undefined' && robots) { %>
|
2016-11-26 09:55:31 -05:00
|
|
|
<meta name="robots" content="<%= robots %>">
|
2016-01-12 09:01:42 -05:00
|
|
|
<% } %>
|
2016-06-21 09:42:03 -04:00
|
|
|
<% if(typeof description !== 'undefined' && description) { %>
|
2016-11-26 09:55:31 -05:00
|
|
|
<meta name="description" content="<%= description %>">
|
2016-06-21 09:42:03 -04:00
|
|
|
<% } %>
|
2019-10-04 13:49:45 -04:00
|
|
|
<% for (var og in opengraph) { %>
|
|
|
|
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
|
|
|
|
<meta property="og:<%= og %>" content="<%= opengraph[og] %>">
|
2019-10-08 15:11:01 -04:00
|
|
|
<% }} if (!opengraph.hasOwnProperty('image')) { %>
|
2020-11-27 05:29:34 -05:00
|
|
|
<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512.png">
|
2020-07-02 11:22:52 -04:00
|
|
|
<meta property="og:image:alt" content="HedgeDoc logo">
|
2019-10-08 15:11:01 -04:00
|
|
|
<meta property="og:image:type" content="image/png">
|
|
|
|
<% } %>
|
2019-12-19 12:00:51 -05:00
|
|
|
<base href="<%- serverURL %>/">
|
2016-11-26 09:55:31 -05:00
|
|
|
<title><%= title %></title>
|
2021-02-09 14:27:29 -05:00
|
|
|
<%- include('includes/favicon.ejs') %>
|
2018-09-13 15:26:39 -04:00
|
|
|
<link rel="stylesheet" href='<%- serverURL %>/build/emojify.js/dist/css/basic/emojify.min.css'>
|
2021-02-09 14:27:29 -05:00
|
|
|
<%- include('build/pretty-pack-header') %>
|
2015-05-04 03:53:29 -04:00
|
|
|
</head>
|
|
|
|
|
2015-07-01 12:10:20 -04:00
|
|
|
<body style="display:none;">
|
2015-09-25 06:55:56 -04:00
|
|
|
<div class="ui-infobar container-fluid unselectable hidden-print">
|
2015-07-01 12:10:20 -04:00
|
|
|
<small>
|
2016-01-12 09:01:42 -05:00
|
|
|
<span>
|
|
|
|
<% if(lastchangeuserprofile) { %>
|
|
|
|
<span class="ui-lastchangeuser"> <i class="ui-user-icon small" style="background-image: url(<%- lastchangeuserprofile.photo %>);" data-toggle="tooltip" data-placement="right" title="<%- lastchangeuserprofile.name %>"></i></span>
|
|
|
|
<% } else { %>
|
2017-04-17 17:24:04 -04:00
|
|
|
<span class="ui-no-lastchangeuser"> <i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
|
2016-01-12 09:01:42 -05:00
|
|
|
<% } %>
|
2016-04-20 06:03:55 -04:00
|
|
|
<span class="text-uppercase ui-status-lastchange"></span>
|
|
|
|
<span class="ui-lastchange text-uppercase" data-createtime="<%- createtime %>" data-updatetime="<%- updatetime %>"></span>
|
2016-01-12 09:01:42 -05:00
|
|
|
</span>
|
|
|
|
<span class="pull-right"><%- viewcount %> views <a href="#" class="ui-edit" title="Edit this note"><i class="fa fa-fw fa-pencil"></i></a></span>
|
2016-10-10 08:32:20 -04:00
|
|
|
<br>
|
|
|
|
<% if(ownerprofile && owner !== lastchangeuser) { %>
|
|
|
|
<span class="ui-owner">
|
|
|
|
 <i class="ui-user-icon small" style="background-image: url(<%- ownerprofile.photo %>);" data-toggle="tooltip" data-placement="right" title="<%- ownerprofile.name %>"></i>
|
|
|
|
<span class="text-uppercase">owned this note</span>
|
|
|
|
</span>
|
|
|
|
<% } %>
|
2015-07-01 12:10:20 -04:00
|
|
|
</small>
|
|
|
|
</div>
|
2021-03-11 06:21:44 -05:00
|
|
|
<div id="doc" class="container markdown-body" <% if (lang) { %> lang="<%= lang %>"<% } %>><%= body %></div>
|
2015-09-25 06:55:56 -04:00
|
|
|
<div class="ui-toc dropup unselectable hidden-print" style="display:none;">
|
2015-07-01 12:10:20 -04:00
|
|
|
<div class="pull-right dropdown">
|
2016-07-30 00:19:42 -04:00
|
|
|
<a id="tocLabel" class="ui-toc-label btn btn-default" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" title="Table of content">
|
2015-07-01 12:10:20 -04:00
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</a>
|
2016-08-14 23:27:32 -04:00
|
|
|
<ul id="ui-toc" class="ui-toc-dropdown dropdown-menu" aria-labelledby="tocLabel">
|
2015-07-01 12:10:20 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-14 23:27:32 -04:00
|
|
|
<div id="ui-toc-affix" class="ui-affix-toc ui-toc-dropdown unselectable hidden-print" data-spy="affix" style="display:none;"></div>
|
2019-06-08 17:33:34 -04:00
|
|
|
<% if(typeof disqus !== 'undefined' && disqus && !dnt) { %>
|
2016-08-14 23:25:27 -04:00
|
|
|
<div class="container-fluid" style="max-width: 758px; margin-bottom: 40px;">
|
2021-02-09 14:27:29 -05:00
|
|
|
<%- include('shared/disqus') %>
|
2016-08-14 23:25:27 -04:00
|
|
|
</div>
|
|
|
|
<% } %>
|
2015-05-04 03:53:29 -04:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
2018-09-13 15:26:39 -04:00
|
|
|
<script src="<%= serverURL %>/js/mathjax-config-extra.js"></script>
|
|
|
|
<script src="<%- serverURL %>/build/MathJax/MathJax.js" defer></script>
|
|
|
|
<script src="<%- serverURL %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script>
|
2019-03-03 05:32:58 -05:00
|
|
|
<script src="<%- serverURL %>/build/MathJax/config/Safe.js" defer></script>
|
2021-02-09 14:27:29 -05:00
|
|
|
<%- include('build/pretty-pack-scripts') %>
|
|
|
|
<%- include('shared/ga') %>
|