If last page = some page - then do this

Highlighted
Excursionist
20 1 1

Hi guys!

 

How can I do this in liquid?

I know that you can use javascript to check history:

 

<a href="javascript&colon;history.back()">Previous Page</a>

But I’m not sure if how to use it with liquid!

 

thanks for any pointers!

0 Likes