Update blog.html
This commit is contained in:
parent
35157ed8e5
commit
71d9ef680b
24
blog.html
24
blog.html
@ -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>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user