Commit d2d4ed23 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix some jekyll build errors

parent c3ae5d15
Pipeline #14996 passed with stages
in 24 seconds
This diff is collapsed.
...@@ -6,29 +6,23 @@ ...@@ -6,29 +6,23 @@
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
{% include ogmeta.html %} {% include ogmeta.html %}
{% if site.altmetric == true %}
{% include altmetric.html %}
{% endif %}
<link rel='shortcut icon' type='image/png' href='{{ site.baseurl }}/favicon.png' /> <link rel='shortcut icon' type='image/png' href='{{ site.baseurl }}/favicon.png' />
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> <link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}">
<!-- Bootstrap Core CSS --> <!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl | prepend: site.url }}"> <link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | relative_url }}">
<!-- Custom CSS --> <!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/clean-blog.css" | prepend: site.baseurl | prepend: site.url }}"> <link rel="stylesheet" href="{{ "/css/clean-blog.css" | relative_url }}">
<!-- Adjust Colors --> <!-- Adjust Colors -->
<link rel="stylesheet" href="{{ "/colorscheme.css" | prepend: site.baseurl | prepend: site.url }}"> <link rel="stylesheet" href="{{ "/colorscheme.css" | relative_url }}">
<!-- Pygments Github CSS --> <!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl | prepend: site.url }}"> <link rel="stylesheet" href="{{ "/css/syntax.css" | relative_url }}">
<!-- Custom Fonts --> <!-- Custom Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
...@@ -42,7 +36,7 @@ ...@@ -42,7 +36,7 @@
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
<!-- Math Jax --> <!-- Math Jax -->
<script type="text/x-mathjax-config"> <!--<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script> </script>
<script type="text/javascript" <script type="text/javascript"
...@@ -52,7 +46,7 @@ ...@@ -52,7 +46,7 @@
MathJax.Hub.Config({ MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } } TeX: { equationNumbers: { autoNumber: "AMS" } }
}); });
</script> </script>-->
<!--<script src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.13/d3.min.js" type="text/javascript"></script>--> <!--<script src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.13/d3.min.js" type="text/javascript"></script>-->
...@@ -63,8 +57,6 @@ ...@@ -63,8 +57,6 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Custom Theme JavaScript --> <!-- Custom Theme JavaScript -->
<script src="{{ "/js/clean-blog.min.js " | prepend: site.baseurl | prepend: site.url }}"></script> <script src="{{ "/js/clean-blog.min.js " | relative_url }}"></script>
{% include analytics.html %}
</head> </head>
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta charset="utf-8">
{% if site.altmetric == true %}
{% include altmetric.html %}
{% endif %}
{% include ogmeta.html %}
<style>
body {
margin: 0px;
background-color: #ffffff;
color: #000000;
font-family:Monospace;
text-align: center;
font-size: 15px;
line-height: 30px;
overflow: hidden;
}
#info {
position: absolute;
top: 0px; width: 100%;
padding: 15px;
z-index:100;
}
</style>
</head>
<body>
<div id="info">
"W" translate | "E" rotate | "R" scale | "+" increase size | "-" decrease size<br />
Press "Q" to toggle world/local space, keep "Ctrl" down to snap to grid
</div>
<script src="{{"/js/plythreejs/three.min.js " | prepend: site.baseurl | prepend: site.url}}"></script>
<script src="{{"/js/plythreejs/TransformControls.js " | prepend: site.baseurl | prepend: site.url}}"></script>
<script src="{{"/js/plythreejs/PLYLoader.js " | prepend: site.baseurl | prepend: site.url}}"></script>
<script>
var camera, scene, renderer, control;
var mesh
var loader = new THREE.PLYLoader();
loader.load( '{{ page.plydata | prepend: site.baseurl }}', function ( geometry ) {
geometry.computeBoundingBox()
geometry.translate(-((geometry.boundingBox.max.x - geometry.boundingBox.min.x)/2 + geometry.boundingBox.min.x) , -((geometry.boundingBox.max.y - geometry.boundingBox.min.y)/2 + geometry.boundingBox.min.y) , -((geometry.boundingBox.max.z - geometry.boundingBox.min.z)/2 + geometry.boundingBox.min.z));
var material = new THREE.MeshPhongMaterial( { color: 0xffffff, specular: 0x111111, shininess: 200, vertexColors: THREE.VertexColors} );
mesh = new THREE.Mesh( geometry, material );
mesh.position.set( 0, 250, 0 );
mesh.rotation.set( 0, - Math.PI / 2, 0 );
mesh.scale.set( 10, 10, 10 );
mesh.castShadow = true;
mesh.receiveShadow = true;
init();
render();
} );
function init() {
renderer = new THREE.WebGLRenderer();
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.sortObjects = false;
document.body.appendChild( renderer.domElement );
renderer.setClearColor( 0xffffff );
//
camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 1, 3000 );
camera.position.set( 1000, 500, 1000 );
camera.lookAt( new THREE.Vector3( 0, 200, 0 ) );
scene = new THREE.Scene();
var light = new THREE.AmbientLight( 0xFFFFFF );
light.position.set( 1, 1, 1 );
scene.add( light );
control = new THREE.TransformControls( camera, renderer.domElement );
control.addEventListener( 'change', render );
scene.add( mesh );
control.attach( mesh );
scene.add( control );
window.addEventListener( 'resize', onWindowResize, false );
window.addEventListener( 'keydown', function ( event ) {
switch ( event.keyCode ) {
case 81: // Q
control.setSpace( control.space === "local" ? "world" : "local" );
break;
case 17: // Ctrl
control.setTranslationSnap( 100 );
control.setRotationSnap( THREE.Math.degToRad( 15 ) );
break;
case 87: // W
control.setMode( "translate" );
break;
case 69: // E
control.setMode( "rotate" );
break;
case 82: // R
control.setMode( "scale" );
break;
case 187:
case 107: // +, =, num+
control.setSize( control.size + 0.1 );
break;
case 189:
case 109: // -, _, num-
control.setSize( Math.max( control.size - 0.1, 0.1 ) );
break;
}
});
window.addEventListener( 'keyup', function ( event ) {
switch ( event.keyCode ) {
case 17: // Ctrl
control.setTranslationSnap( null );
control.setRotationSnap( null );
break;
}
});
}
function onWindowResize() {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize( window.innerWidth, window.innerHeight );
render();
}
function render() {
control.update();
renderer.render( scene, camera );
}
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
{% if site.altmetric == true %}
{% include altmetric.html %}
{% endif %}
{% include ogmeta.html %}
<link rel="stylesheet" type="text/css" href="{{ "/plugin/projector/DataProjector.css " | prepend: site.baseurl | prepend: site.url}}">
{% include analytics.html %}
</head>
<body>
<div id="toolbar">
Display:
<span class="button" id="menuButton">[M]enu</span>
<span class="button" id="infoButton">[I]nfo</span><br/>
Camera:
<span class="button" id="perspectiveButton">[P]erspective</span>
<span class="button" id="orthographicButton">[O]rthographic</span>
<span class="button" id="dualButton">[D]ual</span>
<span class="button" id="resetButton">[R]eset</span><br/>
Tools:
<span class="button" id="clearButton">[C]lear</span>
<span class="button" id="boxButton">[B]ox</span>
<span class="button" id="selectButton">[S]elect</span>
<span class="button" id="viewportButton">[V]iewport</span>
<span class="button" id="viewTopButton">[1]Top</span>
<span class="button" id="viewFrontButton">[2]Front</span>
<span class="button" id="viewSideButton">[3]Side</span><br/>
Animation:
<span class="button" id="spinLeftButton">[&lt;]Left</span>
<span class="button" id="spinStopButton">[ ]Stop</span>
<span class="button" id="spinRightButton">[&gt;]Right</span>
<span class="button" id="animateButton">[A]nimate</span>
</div>
<div id="menu">
--- Main Menu ---<br/><br/>
Clusters:<br/><br/>
<span class="toggle" id="toggleAll">[+]</span><span class="button" id="buttonAll"> All</span><br/>
</div>
<div id="info">
--- Info Console ---<br/><br/>
<span id="message"></span><br/>
</div>
<div id="container">
</div>
<div id="screenshots">
</div>
<script src="{{ "/plugin/projector/jquery-2.0.2.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ "/plugin/projector/three.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ "/plugin/projector/TweenLite.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ "/plugin/projector/TrackballControls.js " | prepend: site.baseurl }}"></script>
<script>{% include DataProjector.js %}</script>
{{ content }}
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
{% if site.altmetric == true %}
{% include altmetric.html %}
{% endif %}
{% include ogmeta.html %}
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="{{"/css/reveal.min.css" | prepend: site.baseurl | prepend: site.url}}">
<link rel="stylesheet" href="{{"/css/theme/default.css" | prepend: site.baseurl | prepend: site.url| replace: 'default',page.theme}}" id="theme"> <!-- This is where THEME -->
<!-- For syntax highlighting -->
<link rel="stylesheet" href="{{"/lib/css/zenburn.css" | prepend: site.baseurl | prepend: site.url}}">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = '{{"/css/print/pdf.css" | prepend: site.baseurl}}';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl | prepend: site.url }}">
{% include analytics.html %}
</head>
<body>
<div class="reveal">
<div class="slides">
{{ content }}
</div>
</div>
<script src="{{"/lib/js/head.min.js " | prepend: site.baseurl}}"> </script>
<script src="{{"/js/reveal.min.js " | prepend: site.baseurl}}"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: '{{ page.trans }}', // default/cube/page/concave/zoom/linear/fade/none
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
// parallaxBackgroundSize: '2100px 900px',
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: '{{"/lib/js/classList.js" | prepend: site.baseurl}}', condition: function() { return !document.body.classList; } },
{ src: '{{"/plugin/markdown/marked.js" | prepend: site.baseurl}}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '{{"/plugin/markdown/markdown.js" | prepend: site.baseurl}}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '{{"/plugin/highlight/highlight.js" | prepend: site.baseurl}}', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '{{"/plugin/zoom-js/zoom.js" | prepend: site.baseurl}}', async: true, condition: function() { return !!document.body.classList; } },
{ src: '{{"/plugin/notes/notes.js" | prepend: site.baseurl}}', async: true, condition: function() { return !!document.body.classList; } },
{ src: '{{"/plugin/math/math.js" | prepend: site.baseurl}}', async: true }
]
});
</script>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment