问题描述
这是我的操作方式,但显然是错误的:
#set( $product_link = 'https://www.viator.com/tours/x/x-x/d0-22869ALHAMBRAEXC')
<p> Link: $product_link </p>
解决方法
只需:
#set( $product_link = 'https://www.viator.com/tours/x/x-x/d0-22869ALHAMBRAEXC')
<p> <a href="$link">Link</a> </p>