2015-05-04 07:53:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-07-01 16:10:20 +00: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 14:01:42 +00:00
|
|
|
<% if(typeof robots !== 'undefined' && robots) { %>
|
2016-11-26 14:55:31 +00:00
|
|
|
<meta name="robots" content="<%= robots %>">
|
2016-01-12 14:01:42 +00:00
|
|
|
<% } %>
|
2016-06-21 13:42:03 +00:00
|
|
|
<% if(typeof description !== 'undefined' && description) { %>
|
2016-11-26 14:55:31 +00:00
|
|
|
<meta name="description" content="<%= description %>">
|
2016-06-21 13:42:03 +00:00
|
|
|
<% } %>
|
2016-11-26 14:55:31 +00:00
|
|
|
<title><%= title %></title>
|
2018-09-13 19:26:39 +00:00
|
|
|
<link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png">
|
|
|
|
<link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png">
|
2017-04-17 21:24:04 +00:00
|
|
|
<% if(useCDN) { %>
|
2019-01-11 00:56:44 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
|
2018-10-05 19:51:54 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
|
2016-10-23 05:27:02 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
|
2020-02-06 06:31:25 +00:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hackmd/emojify.js@2.1.0/dist/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include build/pretty-header %>
|
2018-06-17 23:24:53 +00:00
|
|
|
<%- include shared/polyfill %>
|
2017-04-17 21:24:04 +00:00
|
|
|
<% } else { %>
|
2018-09-13 19:26:39 +00:00
|
|
|
<link rel="stylesheet" href='<%- serverURL %>/build/emojify.js/dist/css/basic/emojify.min.css'>
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include build/pretty-pack-header %>
|
2017-04-17 21:24:04 +00:00
|
|
|
<% } %>
|
2015-05-04 07:53:29 +00:00
|
|
|
</head>
|
|
|
|
|
2015-07-01 16:10:20 +00:00
|
|
|
<body style="display:none;">
|
2015-09-25 10:55:56 +00:00
|
|
|
<div class="ui-infobar container-fluid unselectable hidden-print">
|
2015-07-01 16:10:20 +00:00
|
|
|
<small>
|
2016-01-12 14:01:42 +00: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 21:24:04 +00:00
|
|
|
<span class="ui-no-lastchangeuser"> <i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
|
2016-01-12 14:01:42 +00:00
|
|
|
<% } %>
|
2016-04-20 10:03:55 +00: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 14:01:42 +00: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 12:32:20 +00: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 16:10:20 +00:00
|
|
|
</small>
|
|
|
|
</div>
|
2016-11-26 14:55:31 +00:00
|
|
|
<div id="doc" class="container markdown-body"><%= body %></div>
|
2015-09-25 10:55:56 +00:00
|
|
|
<div class="ui-toc dropup unselectable hidden-print" style="display:none;">
|
2015-07-01 16:10:20 +00:00
|
|
|
<div class="pull-right dropdown">
|
2016-07-30 04:19:42 +00: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 16:10:20 +00:00
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</a>
|
2016-08-15 03:27:32 +00:00
|
|
|
<ul id="ui-toc" class="ui-toc-dropdown dropdown-menu" aria-labelledby="tocLabel">
|
2015-07-01 16:10:20 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-15 03:27:32 +00:00
|
|
|
<div id="ui-toc-affix" class="ui-affix-toc ui-toc-dropdown unselectable hidden-print" data-spy="affix" style="display:none;"></div>
|
2016-08-15 03:25:27 +00:00
|
|
|
<% if(typeof disqus !== 'undefined' && disqus) { %>
|
|
|
|
<div class="container-fluid" style="max-width: 758px; margin-bottom: 40px;">
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include shared/disqus %>
|
2016-08-15 03:25:27 +00:00
|
|
|
</div>
|
|
|
|
<% } %>
|
2015-05-04 07:53:29 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
2018-09-13 19:26:39 +00:00
|
|
|
<script src="<%= serverURL %>/js/mathjax-config-extra.js"></script>
|
2015-09-22 04:06:13 +00:00
|
|
|
<% if(useCDN) { %>
|
2019-10-04 14:59:09 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.5.2/velocity.min.js" integrity="sha256-1HqoI76JGKA17K0C0s9K8L/iy8PAC43KVLt1hRD/Ojc=" crossorigin="anonymous" defer></script>
|
2019-01-11 00:56:44 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha256-kJrlY+s09+QoWjpkOrXXwhxeaoDz9FW5SaxF8I0DibQ=" crossorigin="anonymous" defer></script>
|
2016-11-26 15:22:47 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js" integrity="sha256-jnOjDTXIPqall8M0MyTSt98JetJuZ7Yu+1Jm7hLTF7U=" crossorigin="anonymous" defer></script>
|
2016-12-19 08:20:27 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/3.7.0/js-yaml.min.js" integrity="sha256-8PanqYAVOGlOct+i65R+HqibK3KPsXINnrSfxN+Y/J0=" crossorigin="anonymous" defer></script>
|
2016-10-24 17:57:51 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" integrity="sha256-yYfngbEKv4RENfGDvNUqJTqGFcKf31NJEe9OTnnMH3Y=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-immzXfCGLhnx3Zfi9F/dUcqxEM8K3o3oTFy9Bh6HCwg=" crossorigin="anonymous" defer></script>
|
2019-03-03 10:32:58 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/config/Safe.js" integrity="sha256-0ygBUDksNDXZS4vm5HMNH1a33KUu6QT1cdNTN+ZLF+4=" crossorigin="anonymous" defer></script>
|
2019-10-04 14:59:09 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js" integrity="sha256-AdQN98MVZs44Eq2yTwtoKufhnU+uZ7v2kXnD5vqzZVo=" crossorigin="anonymous" defer></script>
|
2019-07-28 03:43:02 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.2.3/mermaid.min.js" integrity="sha256-4s3fF5e1iWRLtiV7mRev7n17oALqqDHbWrNqF3/r7jU=" crossorigin="anonymous" defer></script>
|
2020-02-06 06:31:25 +00:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/@hackmd/emojify.js@2.1.0/dist/js/emojify-browser.min.js" integrity="sha256-swgfXtqk2bC98KzPoE8tXRz5tmrzpjJWhhXlhYo/wRA=" crossorigin="anonymous" defer></script>
|
2019-10-04 14:59:09 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.2/handlebars.min.js" integrity="sha256-ngJY93C4H39YbmrWhnLzSyiepRuQDVKDNCWO2iyMzFw=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js" integrity="sha256-1zu+3BnLYV9LdiY85uXMzii3bdrkelyp37e0ZyTAQh0=" crossorigin="anonymous" defer></script>
|
2016-11-26 15:22:47 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script>
|
2019-10-04 14:23:51 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/2.1.2/viz.js" integrity="sha256-8RHyK+AFzq9iXwbFo2unqidwPbwHU5FFWe3RwkcVtuU=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/2.1.2/full.render.js" integrity="sha256-Ogqs510LFnekr9o7OLdpelaaAmNss9egQRTyzCqV2NQ=" crossorigin="anonymous" defer></script>
|
2019-08-04 12:12:39 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/5.4.0/vega.min.js" integrity="sha256-PrkRj4B3I5V9yHBLdO3jyyqNUwSKS1CXXIh3VrnFPEU=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/3.4.0/vega-lite.min.js" integrity="sha256-ro+FWr16NboXJ5rSwInNli1P16ObUXnWUJMgKc8KnHI=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/4.2.2/vega-embed.min.js" integrity="sha256-FvIpRBgWEczIjFNpbshtVJbx3QlxqxkBkf+xqZeOxUU=" crossorigin="anonymous" defer></script>
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include build/pretty-scripts %>
|
2016-11-26 15:22:47 +00:00
|
|
|
<% } else { %>
|
2018-09-13 19:26:39 +00:00
|
|
|
<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 10:32:58 +00:00
|
|
|
<script src="<%- serverURL %>/build/MathJax/config/Safe.js" defer></script>
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include build/pretty-pack-scripts %>
|
2016-11-26 15:22:47 +00:00
|
|
|
<% } %>
|
2017-01-21 05:40:08 +00:00
|
|
|
<%- include shared/ga %>
|