Get website item attribute value from macros

Hi, I’m trying to figure out how can get website item attribute values from the
~/frappe-bench/apps/erpnext/erpnext/templates/includes/macros.html file, in order to custom it.

Thank you very much