Is there a way to call via javascript if a user is logged-in on a static html file?
I am using Wordpress/Woocommerce for my website along with jekyll (static html generator). I want to change a button based upon user logged in or logged out.
\\ if user is logged in
buttonLog Out/button
\\ else
buttonLog in/button