sakrecoer-mother-web/_includes/navmenu.html

24 lines
812 B
HTML
Raw Permalink Normal View History

2019-07-09 19:49:14 +02:00
<div id="navigation">
2019-07-09 22:17:29 +02:00
{% if page.collection == 'tracks' %}
<a href="{{ site.baseurl }}./#{{ page.uid }}" alt="Back" title="Back">
2019-07-13 23:44:59 +02:00
{% elsif page.url != '/music/' %}
2019-07-10 01:22:54 +02:00
<a href="{{ site.baseurl }}/music/" alt="Music" title="Music">
2019-07-09 22:17:29 +02:00
{% else %}
2019-07-10 01:22:54 +02:00
<a href="{{ site.baseurl }}/" alt="Back" title="About">
2019-07-09 22:17:29 +02:00
{% endif %}
2019-07-10 01:22:54 +02:00
<img src="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" width="125px" height="125px" alt="Sakrecoer Logo" />
2019-07-09 19:49:14 +02:00
</a>
2019-07-14 00:51:18 +02:00
</div>
{% if page.collection != 'tracks' %}
<script type="text/javascript">
$(window).scroll(function(){
$("#navigation").css("opacity", 0 + $(window).scrollTop() / 250);
});
</script>
{% else %}
<script type="text/javascript">
$(window).scroll(function(){
$("#navigation").css("opacity", 1 - $(window).scrollTop() / 250);
});
</script>
{% endif %}