Skip to content

Commit 9ae907d

Browse files
committed
Fix purchase URL
1 parent f6a40b7 commit 9ae907d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_collections/_merch/plushies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: merch
33
title: TeX Plushies
44
slug: plushies
5-
url: https://www.guildofstudents.com/
5+
purchase-url: https://www.guildofstudents.com/
66
options:
77
- name: Plushie
88
quantity: 1

_layouts/merch.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ <h2>Purchase options</h2>
4848
<span class="price">£{{ option.price }}</span>
4949
</div>
5050
{% endfor %}
51-
{% if page.url %}
52-
<a href="{{ page.url }}" class="button guild-button">Buy on Guild website <i class="fas fa-arrow-right"></i></a>
51+
{% if page.purchase-url %}
52+
<a href="{{ page.purchase-url }}" class="button guild-button">Buy on Guild website <i class="fas fa-arrow-right"></i></a>
5353
{% endif %}
5454
</div>
5555
</div>

0 commit comments

Comments
 (0)