Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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 set the share by mail on the footer part of the website. #455

Closed
fmorfini opened this issue Aug 7, 2024 · 2 comments
Closed

How to set the share by mail on the footer part of the website. #455

fmorfini opened this issue Aug 7, 2024 · 2 comments
Assignees

Comments

@fmorfini
Copy link

fmorfini commented Aug 7, 2024

Hi,

I'm having issues with the email/envelope icon in the footer. When I click on it, I would expect to generate a new email message either on a local email app (e.g., I'm using mail.app from a Mac) or some other way, but instead a new blank tab opens up on the web browser. I'm using the latest google chrome version 127.0.6533.100 (Official Build) (x86_64).

This is my repo and the website. Note, that I've currently removed the envelope icon to avoid issues on the live website, however the issue I was having can be reproduced by changing the following info on these fils:

/_data/icons_builder.yml (unchanged compared to the template):

mail:
  pre: "mailto:"
  icon: "fas fa-envelope"

/_data/social.yml:

share:
  email: true

/_data/icons.yml:

Also, I tried to get around this issue by adding the email as plain text in the footer. I don't know if this is a separate issue, but the text I entered for footer_textin the _config.yml file isn't displaying in the website:

footer_text: >
  [email protected]
# Powered by <a href="https://jekyllrb.com/">Jekyll</a> with <a href="https://github.com/sylhare/Type-on-Strap">Type on Strap</a>

it does show up when I change the _includes/default/footer.liquid:

        {{ site.footer_text | default: "[email protected]" }}</p>

Any suggestions?
Thank you for putting out this great template!

@sylhare
Copy link
Owner

sylhare commented Aug 8, 2024

I'll check it out, thanks for mentioning it 👍

@sylhare
Copy link
Owner

sylhare commented Aug 8, 2024

@fmorfini so the email share in /_data/social.yml is actually for the blog post:
image

To get it as part of the footer you can edit /_data/icons.yml
image

And then set the mail as:

It's independent from the footer_text.

@sylhare sylhare changed the title email not working How to set the share by mail on the footer part of the website. Aug 8, 2024
@sylhare sylhare removed the bug label Aug 8, 2024
@github-actions github-actions bot added the bug label Aug 8, 2024
Repository owner locked and limited conversation to collaborators Aug 8, 2024
@sylhare sylhare converted this issue into discussion #456 Aug 8, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants