-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<hr style="margin-top: 5rem;"> | ||
{{ $title := .Title }} | ||
{{ $url := printf "%s" .Permalink | absLangURL }} | ||
{{ $body := print $title ", by " .Site.Title "\n" .Params.description "\n\n" $url "\n" }} | ||
<div id="sharing" style="font-style: italic; display: flex; gap: 5px; align-items: center;"> | ||
<p>Share on: </p> | ||
<a href="https://twitter.com/intent/post?{{ $title }}, by @zansara_dev=test&url={{ $url }}" aria-label="share on Twitter"> | ||
|
@@ -10,10 +9,10 @@ | |
<a href="https://mastodonshare.com/?text={{ $title }}, by @[email protected]&url={{ $url }}" aria-label="share on Mastodon"> | ||
<div style="height:40px;width:40px;background:#ffffff;padding:5px;border-radius: 3px;">{{ partial "assets/mastodon.svg" }}</div> | ||
</a> | ||
<a href="https://www.linkedin.com/shareArticle?url={{ $url }}&title={{ $title }}, by " aria-label="share on LinkedIn"> | ||
<a href="https://www.linkedin.com/shareArticle?url={{ $url }}" aria-label="share on LinkedIn"> | ||
<div style="height:40px;width:40px;background:#ffffff;padding:5px;border-radius: 3px;">{{ partial "assets/linkedin.svg" }}</div> | ||
</a> | ||
<a href="mailto:?subject={{ $title }}, by Sara Zan.&body={{ $body }}"aria-label="share by email"> | ||
<a href="mailto:?subject={{ $title }}, by Sara Zan.&body={{ $url }}"aria-label="share by email"> | ||
<div style="height:40px;width:40px;background:#ffffff;padding:5px;border-radius: 3px;">{{ partial "assets/email.svg" }}</div> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters