Navigate with arrow keys, mustly to be used on a static content generator, like Jekyll or Hugo:
<script>
$(document).keydown(function(e){
if (e.keyCode == 37 && $(".prev").length == 1) {
e.preventDefault();
window.location.href = $(".prev").attr("href");
} else if (e.keyCode == 39 && $(".next").length == 1) {
e.preventDefault();
window.location.href = $(".next").attr("href");
}
});
</script>