correct URL for back to album button

This commit is contained in:
sakrecoer 2020-07-30 10:42:35 +02:00
parent ac87e812ec
commit c242e6b75c

View file

@ -28,7 +28,11 @@
<li><a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit" href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&amp;title={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}" class="icon brands style1 fa-reddit"><span class="label">Reddit</span></a></li> <li><a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit" href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&amp;title={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}" class="icon brands style1 fa-reddit"><span class="label">Reddit</span></a></li>
</ul> </ul>
{% if page.collection == 'tracks' %} {% if page.collection == 'tracks' %}
<a href="{{ relBase }}/albums/{{ page.albumSlug }}" class="button smaller"> Back to Album</a><br /><br /> {% for post in site.posts %}
{% if post.album == page.albumSlug %}
<a href="{{ relBase }}{{ post.url }}" class="button smaller"> Back to Album</a><br /><br />
{% endif %}
{% endfor %}
{% endif %} {% endif %}
</div> </div>
</header> </header>