2016-05-29 09:54:24 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<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-06-21 13:42:03 +00:00
|
|
|
<% if(typeof robots !== 'undefined' && robots) { %>
|
2016-11-26 14:55:31 +00:00
|
|
|
<meta name="robots" content="<%= robots %>">
|
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>
|
2016-05-29 09:54:24 +00:00
|
|
|
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
|
|
|
|
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
|
2016-11-28 16:44:15 +00:00
|
|
|
|
|
|
|
<!-- For reveal.js -->
|
|
|
|
<link rel="stylesheet" href="<%- url %>/build/reveal.js/css/reveal.css">
|
|
|
|
|
2016-07-02 08:09:26 +00:00
|
|
|
<% if(useCDN) { %>
|
2016-11-26 15:24:59 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" 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" />
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
|
2016-11-26 15:24:59 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'>
|
|
|
|
<%- include build/slide-header %>
|
2016-07-02 08:09:26 +00:00
|
|
|
<% } else { %>
|
2016-11-26 15:24:59 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'>
|
|
|
|
<%- include build/slide-pack-header %>
|
2016-07-02 08:09:26 +00:00
|
|
|
<% } %>
|
|
|
|
|
2016-11-28 16:44:15 +00:00
|
|
|
<!-- For reveal.js theme -->
|
|
|
|
<link rel="stylesheet" href="<%- url %>/build/reveal.js/css/theme/black.css" id="theme">
|
2016-11-07 13:27:58 +00:00
|
|
|
<!-- For syntax highlighting -->
|
2016-11-28 16:44:15 +00:00
|
|
|
<link rel="stylesheet" href="<%- url %>/build/reveal.js/lib/css/zenburn.css">
|
2016-11-26 15:24:59 +00:00
|
|
|
<!-- For overwrite reveal.js -->
|
|
|
|
<link rel="stylesheet" href="<%- url %>/css/slide.css">
|
2016-05-29 09:54:24 +00:00
|
|
|
|
2016-10-29 15:35:10 +00:00
|
|
|
<!-- Printing and PDF exports -->
|
|
|
|
<script>
|
|
|
|
var link = document.createElement( 'link' );
|
|
|
|
link.rel = 'stylesheet';
|
|
|
|
link.type = 'text/css';
|
2016-11-28 16:44:15 +00:00
|
|
|
link.href = '<%- url %>/build/reveal.js/' + (window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css');
|
2016-10-29 15:35:10 +00:00
|
|
|
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
|
|
|
</script>
|
|
|
|
|
2016-11-26 14:38:18 +00:00
|
|
|
<%- include polyfill %>
|
2016-05-29 09:54:24 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-08-15 03:30:12 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="reveal">
|
2016-11-26 14:55:31 +00:00
|
|
|
<div class="slides" style="display: none;"><%= body %></div>
|
2016-08-15 03:30:12 +00:00
|
|
|
</div>
|
2016-05-29 09:54:24 +00:00
|
|
|
|
2016-11-26 14:55:31 +00:00
|
|
|
<div id="meta" style="display: none;"><%= meta %></div>
|
2016-07-31 16:08:22 +00:00
|
|
|
|
2016-08-15 03:30:12 +00:00
|
|
|
<div class="footer">
|
|
|
|
<div class="unselectable hidden-print" style="color: #777;">
|
|
|
|
<small>
|
|
|
|
<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 { %>
|
2016-10-10 12:32:20 +00:00
|
|
|
<span class="ui-no-lastchangeuser"> <i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
|
2016-08-15 03:30:12 +00:00
|
|
|
<% } %>
|
|
|
|
<span class="text-uppercase ui-status-lastchange"></span>
|
|
|
|
<span class="ui-lastchange text-uppercase" data-createtime="<%- createtime %>" data-updatetime="<%- updatetime %>"></span>
|
|
|
|
</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>
|
|
|
|
<% } %>
|
2016-08-15 03:30:12 +00:00
|
|
|
</small>
|
|
|
|
</div>
|
|
|
|
<% if(typeof disqus !== 'undefined' && disqus) { %>
|
|
|
|
<div style="margin-top: 25px; margin-bottom: 15px;">
|
|
|
|
<%- include disqus %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2016-08-15 03:25:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-07-02 08:09:26 +00:00
|
|
|
<script type="text/x-mathjax-config">
|
|
|
|
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
|
|
|
|
</script>
|
|
|
|
<% if(useCDN) { %>
|
2016-10-23 14:42:47 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/lib/js/head.min.js" integrity="sha256-+09kLhwACKXFPDvqo4xMMvi4+uXFsRZ2uYGbeN1U8sI=" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/js/reveal.min.js" integrity="sha256-lvaInSKflJWLPqf5N5oHr/UZFwXKD6gckerdwoHqECY=" crossorigin="anonymous"></script>
|
2016-11-26 15:24:59 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
|
2016-12-19 08:20:27 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.4.0/velocity.min.js" integrity="sha256-bhm0lgEt6ITaZCDzZpkr/VXVrLa5RP4u9v2AYsbzSUk=" crossorigin="anonymous" defer></script>
|
2016-11-26 15:24:59 +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>
|
2016-12-19 08:20:27 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js" integrity="sha256-vvT7Ok9u6GbfnBPXnbM6FVDEO8E1kTdgHOFZOAXrktA=" crossorigin="anonymous" defer></script>
|
2016-10-23 05:27:02 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/6.0.0/mermaid.min.js" integrity="sha256-Yabf6Mj1TPKd6h4F6z5xRR1/2son0Wg8NhvjYnhcQcY=" crossorigin="anonymous" defer></script>
|
2016-10-23 14:42:47 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/js/emojify.min.js" integrity="sha256-VAB5tAlKBvgaxw8oJ1crWMVbdmBVl4mP/2M8MNRl+4E=" crossorigin="anonymous" defer></script>
|
2016-12-19 08:20:27 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.6/handlebars.min.js" integrity="sha256-1O3BtOwnPyyRzOszK6P+gqaRoXHV6JXj8HkjZmPYhCI=" crossorigin="anonymous" defer></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script>
|
2016-11-26 15:24:59 +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>
|
2016-12-19 08:20:27 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.4.1/viz.js" integrity="sha256-U0a9HpXT7zG0N3tVzo58B5S+QXUxo4FdBIjrBMYrxZI=" crossorigin="anonymous" defer></script>
|
2016-10-12 09:15:59 +00:00
|
|
|
<%- include build/slide-scripts %>
|
2016-11-26 15:24:59 +00:00
|
|
|
<% } else { %>
|
|
|
|
<script src="<%- url %>/build/MathJax/MathJax.js" defer></script>
|
|
|
|
<script src="<%- url %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script>
|
|
|
|
<%- include build/slide-pack-scripts %>
|
|
|
|
<% } %>
|
2016-05-29 09:54:24 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
2016-06-21 13:42:03 +00:00
|
|
|
|
2016-10-10 00:25:35 +00:00
|
|
|
<%- include ga %>
|