Update blog.html

This commit is contained in:
Timm 2015-04-22 23:45:35 +02:00
parent 35157ed8e5
commit 71d9ef680b

View File

@ -1,7 +1,17 @@
--- ---
layout: default layout: default
--- ---
<script src="js/elevator.min.js"></script>
<script>
// Elevator script: https://github.com/tholman/elevator.js
window.onload = function() {
var elevator = new Elevator({
mainAudio: '/media/elevator-music.mp3', // Music from http://www.bensound.com/
endAudio: '/media/ding.mp3', // Music from http://www.bensound.com/
duration: 20000 // milliseconds
});
}
</script>
{% for post in site.posts %} {% for post in site.posts %}
{% if forloop.first == false %} {% if forloop.first == false %}
<hr> <hr>
@ -28,15 +38,3 @@ layout: default
</div> </div>
<div class="elevator-button" onclick="elevator.elevate();"><i class="fa fa-arrow-up"></i></div> <div class="elevator-button" onclick="elevator.elevate();"><i class="fa fa-arrow-up"></i></div>
{% endfor %} {% endfor %}
<script src="js/elevator.min.js"></script>
<script>
// Elevator script: https://github.com/tholman/elevator.js
window.onload = function() {
var elevator = new Elevator({
mainAudio: '/media/elevator-music.mp3', // Music from http://www.bensound.com/
endAudio: '/media/ding.mp3', // Music from http://www.bensound.com/
duration: 20000 // milliseconds
});
}
</script>