57 lines
1.6 KiB
Plaintext
Executable file
57 lines
1.6 KiB
Plaintext
Executable file
---
|
|
username: Laureηt
|
|
---
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ username }}</title>
|
|
<link rel="stylesheet" href="{{ '/css/main.css' | url }}">
|
|
<link rel="stylesheet" href="{{ '/css/blink.css' | url }}">
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | url }}">
|
|
<script src="{{ '/javascript/chaffle.min.js' | url }}"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<header style="margin-bottom: 0;">
|
|
<span data-chaffle-onload="" data-chaffle="en">{{ username }}</span>
|
|
<span class="blink" style="display:inline;">_</span>
|
|
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
|
</header>
|
|
|
|
<hr style="margin-top: .5em;">
|
|
{{ content | safe }}
|
|
|
|
<div class="btn-back">
|
|
<span>«</span>
|
|
<a href="{{ '/' | url }}">Go back</a>
|
|
</div>
|
|
|
|
<footer>
|
|
© {% year %} {{ username }}
|
|
</footer>
|
|
|
|
<script>
|
|
var elm_mouseover = document.querySelectorAll('[data-chaffle]');
|
|
var elm_onload = document.querySelectorAll('[data-chaffle-onLoad]');
|
|
|
|
Array.prototype.forEach.call(elm_mouseover, function (el) {
|
|
var chaffle = new Chaffle(el)
|
|
el.addEventListener('mouseover', function () {
|
|
chaffle.init();
|
|
});
|
|
});
|
|
|
|
Array.prototype.forEach.call(elm_onload, function (el) {
|
|
var chaffle = new Chaffle(el)
|
|
chaffle.init();
|
|
setInterval(function(){
|
|
chaffle.init();
|
|
}, 10000)
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |