correct URL for back to album button
This commit is contained in:
parent
ac87e812ec
commit
c242e6b75c
|
@ -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 }}&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>
|
||||
{% 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 %}
|
||||
</div>
|
||||
</header>
|
Loading…
Reference in a new issue