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

Fix #173: tel: link is now handled correctly by Hugo #174

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

filippofontana
Copy link
Contributor

The safeURL function is required to insert URLs that are different than http:, https: and mailto: (e.g. tel:) through the Hugo templating system.

Additionally, an example about how to add new contacts is added in the config.toml of exampleSite.

The `safeURL` function is required to insert URLs that are different
than `http:`, `https:` and `mailto:` (e.g. `tel:`) through the Hugo
templating system.

Additionally, an example about how to add new contacts is added in the
`config.toml` of `exampleSite`.

Signed-off-by: Filippo Fontana <[email protected]>
@zjedi zjedi merged commit 1dbb750 into zjedi:master Mar 17, 2024
6 checks passed
@filippofontana filippofontana deleted the fix-tel-url branch March 17, 2024 11:33
@filippofontana filippofontana restored the fix-tel-url branch March 17, 2024 11:34
@filippofontana
Copy link
Contributor Author

Wait, I forgot to add the fix also for the contact section, can you undo this pull request or do I need to create a new one?

@zjedi
Copy link
Owner

zjedi commented Mar 17, 2024

open another, reverting is extra work if the fix is around the corner

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

Successfully merging this pull request may close these issues.

2 participants