Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add mailto links for the actionLink #93

Closed
ghost opened this issue Apr 17, 2018 · 3 comments
Closed

How to add mailto links for the actionLink #93

ghost opened this issue Apr 17, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 17, 2018

I'm setting up a dummy website using VuePress, and I don't know how to get the actionLink in the Front Matter for the Homepage to link to mailto:[email protected]. At the moment, it's looking like this:
VuePress Dummy Button

and the Front Matter is:

---
home: true
heroImage: /assets/header.jpg
actionText: Get in touch 📩
actionLink: mailto:[email protected]
(features & footer down here)
---

When I click the button, it takes me to http://localhost:8080/mailto:[email protected]

(Just to clarify, that email isn't working just yet 🙂)

@ghost
Copy link
Author

ghost commented Apr 17, 2018

Sorry @yyx990803, but I don't know why you've closed this issue with that commit? I'm just asking a question about the functionality of VuePress locally, not reporting an issue.

@yyx990803
Copy link
Member

Well that commit fixed the problem so it should handle mailto links properly now.

@ghost
Copy link
Author

ghost commented Apr 17, 2018

Ah, awesome! Thanks 😄 Any idea on when this will go live?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant