feat: added pinteret to socials

This commit is contained in:
sixpointcube 2024-06-19 14:51:45 -04:00
parent a35524403f
commit 58116f1294
13 changed files with 35 additions and 6 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 511.998 511.998" xml:space="preserve">
<path style="fill:#D7143A;" d="M405.017,52.467C369.774,18.634,321.001,0,267.684,0C186.24,0,136.148,33.385,108.468,61.39
c-34.114,34.513-53.675,80.34-53.675,125.732c0,56.993,23.839,100.737,63.76,117.011c2.68,1.098,5.377,1.651,8.021,1.651
c8.422,0,15.095-5.511,17.407-14.35c1.348-5.071,4.47-17.582,5.828-23.013c2.906-10.725,0.558-15.884-5.78-23.353
c-11.546-13.662-16.923-29.817-16.923-50.842c0-62.451,46.502-128.823,132.689-128.823c68.386,0,110.866,38.868,110.866,101.434
c0,39.482-8.504,76.046-23.951,102.961c-10.734,18.702-29.609,40.995-58.585,40.995c-12.53,0-23.786-5.147-30.888-14.121
c-6.709-8.483-8.921-19.441-6.222-30.862c3.048-12.904,7.205-26.364,11.228-39.376c7.337-23.766,14.273-46.213,14.273-64.122
c0-30.632-18.832-51.215-46.857-51.215c-35.616,0-63.519,36.174-63.519,82.354c0,22.648,6.019,39.588,8.744,46.092
c-4.487,19.01-31.153,132.03-36.211,153.342c-2.925,12.441-20.543,110.705,8.618,118.54c32.764,8.803,62.051-86.899,65.032-97.713
c2.416-8.795,10.869-42.052,16.049-62.495c15.817,15.235,41.284,25.535,66.064,25.535c46.715,0,88.727-21.022,118.298-59.189
c28.679-37.02,44.474-88.618,44.474-145.282C457.206,127.983,438.182,84.311,405.017,52.467z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,3 @@
<svg width="1200" height="1227" viewBox="0 0 1200 1227" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 430 B

View File

@ -5,6 +5,6 @@ description: "A culinary adventure"
theme_version: '2.8.2' theme_version: '2.8.2'
cascade: cascade:
featured_image: '/images/gohugo-default-sample-hero-image.jpg' featured_image: '/images/spellbook.jpeg'
--- ---
Enchant Your Taste Buds with Magical Recipes! Enchant Your Taste Buds with Magical Recipes!

View File

@ -5,7 +5,7 @@
{{ define "main" }} {{ define "main" }}
{{ $section := .Site.GetPage "section" .Section }} {{ $section := .Site.GetPage "section" .Section }}
<article class="flex-l flex-wrap justify-between mw8 center ph3"> <article class="flex-l flex-wrap justify-between mw8 center ph3" data-pagefind-body>
<header class="mt4 w-100"> <header class="mt4 w-100">
<aside class="instapaper_ignoref b helvetica tracked ttu"> <aside class="instapaper_ignoref b helvetica tracked ttu">
{{/* {{/*

View File

@ -8,7 +8,7 @@
<section class="flex-ns flex-wrap justify-around mt5"> <section class="flex-ns flex-wrap justify-around mt5">
{{ range .Pages }} {{ range .Pages }}
<div class="relative w-100 mb4 bg-white"> <div class="relative w-100 mb4 bg-white">
{{ .Render "summary" }} {{ .Render "summary-with-image" }}
</div> </div>
{{ end }} {{ end }}
</section> </section>

View File

@ -9,7 +9,7 @@
<section class="ph4"> <section class="ph4">
{{ range $term := .Data.Pages }} {{ range $term := .Data.Pages }}
<h2 class="f1"> <h2 class="f1">
<a href="{{ $term.RelPermalink }}" class="link blue hover-black"> <a href="{{ $term.RelPermalink }}" class="link black hover-gray">
{{/* {{ $.Data.Singular | humanize }}: {{ $term.LinkTitle }} */}} {{/* {{ $.Data.Singular | humanize }}: {{ $term.LinkTitle }} */}}
{{ $term.LinkTitle }} {{ $term.LinkTitle }}
</a> </a>

View File

@ -33,6 +33,10 @@
share: true share: true
label: Twitter label: Twitter
color: '#1da1f2' color: '#1da1f2'
x:
share: true
label: Twitter
color: '#6cc644'
instagram: instagram:
label: Instagram label: Instagram
color: '#e1306c' color: '#e1306c'
@ -70,4 +74,8 @@
tiktok: tiktok:
label: TikTok label: TikTok
color: '#fe2c55' color: '#fe2c55'
pinterest:
share: true
label: Pinterest
color: '#cd201f'
` | transform.Unmarshal) }} ` | transform.Unmarshal) }}

View File

@ -22,7 +22,7 @@
theNewDynamic) and them to the list with key as .name and value as .url */}} theNewDynamic) and them to the list with key as .name and value as .url */}}
{{ $user_using_legacy := false }} {{ $user_using_legacy := false }}
{{ $legacy_api_services := slice "facebook" "twitter" "instagram" "youtube" "github" "gitlab" "keybase" "linkedin" "medium" "mastodon" "slack" "stackoverflow" "rss" }} {{ $legacy_api_services := slice "facebook" "twitter" "instagram" "youtube" "github" "gitlab" "keybase" "linkedin" "medium" "mastodon" "slack" "stackoverflow" "rss" "x" "pinterest"}}
{{ range $name := $legacy_api_services }} {{ range $name := $legacy_api_services }}
{{ with $url := index site.Params . }} {{ with $url := index site.Params . }}
{{/* If we can find a parameter matching the key with a set value, we add it with proper name and url */}} {{/* If we can find a parameter matching the key with a set value, we add it with proper name and url */}}

View File

@ -1,13 +1,16 @@
{{ $title := .Title }} {{ $title := .Title }}
{{ $url := printf "%s" .Permalink | absLangURL }} {{ $url := printf "%s" .Permalink | absLangURL }}
{{ $featured_image := printf "%s" .Params.featured_image | absLangURL }}
{{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }} {{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
{{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }} {{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }}
{{ $x_href := printf "https://x.com/intent/tweet?url=%s&text=%s" $url $title }}
{{ $pinterest_href := printf "https://pinterest.com/pin/create/button/?url=%s&media=%s&description=%s" $url $featured_image $title }}
{{ with site.Social.twitter }} {{ with site.Social.twitter }}
{{ $twitter_href = printf "%s&via=%s" $twitter_href . }} {{ $twitter_href = printf "%s&via=%s" $twitter_href . }}
{{ end }} {{ end }}
{{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }} {{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }}
{{ $hrefs := dict "facebook" $facebook_href "twitter" $twitter_href "linkedin" $linkedin_href }} {{ $hrefs := dict "facebook" $facebook_href "twitter" $twitter_href "linkedin" $linkedin_href "pinterest" $pinterest_href "x" $x_href}}
{{ $services := where (partialCached "func/socials/Get" "socials/Get") "share" true }} {{ $services := where (partialCached "func/socials/Get" "socials/Get") "share" true }}
{{ if not ($.Param "disable_share") }} {{ if not ($.Param "disable_share") }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB